mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 23:45:39 +00:00
31 lines
514 B
YAML
31 lines
514 B
YAML
name: Update-ReadTheDocs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'wiki'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'wiki'
|
|
workflow_dispatch:
|
|
|
|
|
|
jobs:
|
|
|
|
Job1_-_Building_P1:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Update wiki
|
|
id: update
|
|
run: |
|
|
git checkout https://github.com/XargonWan/RetroDECK.wiki.git tmp/wiki
|
|
cp -rf tmp/wiki/* wiki
|
|
git commit -m "Updating wiki"
|
|
git push |