Create wiki.yml

This commit is contained in:
Margen67 2023-06-07 16:32:06 -07:00
parent 8f6bac27a4
commit 154b7ac56a
1 changed files with 19 additions and 0 deletions

19
.github/workflows/wiki.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Wiki
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: ${{ github.repository }}.wiki
- name: Update wiki
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git remote add remote https://github.com/${{ github.repository }}.git
git fetch remote wiki
git reset --hard remote/wiki
git push -f