RetroDECK/.github/workflows/update-readthedocs.yml

32 lines
598 B
YAML
Raw Normal View History

name: Update-ReadTheDocs
on:
gollum
# push:
# branches:
# - main
# paths:
2023-08-29 08:40:17 +00:00
# - 'wiki-rtd'
# pull_request:
# branches:
# - main
# paths:
2023-08-29 08:40:17 +00:00
# - 'wiki-rtd'
# workflow_dispatch:
jobs:
Job1_-_Building_P1:
runs-on: ubuntu-latest
steps:
2023-08-29 07:48:30 +00:00
- uses: actions/checkout@v3
2023-08-29 08:40:17 +00:00
- name: Update ReadTheDocs wiki-rtd
id: wiki-rtd-update
run: |
2023-08-29 08:40:17 +00:00
git checkout https://github.com/XargonWan/RetroDECK.wiki-rtd.git tmp/wiki-rtd
cp -rf tmp/wiki-rtd/* wiki-rtd
git commit -m "Updating wiki-rtd"
git push