From 154b7ac56a3ce38cf24917158907d863936af748 Mon Sep 17 00:00:00 2001 From: Margen67 Date: Wed, 7 Jun 2023 16:32:06 -0700 Subject: [PATCH] Create wiki.yml --- .github/workflows/wiki.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/wiki.yml diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml new file mode 100644 index 0000000..c872d67 --- /dev/null +++ b/.github/workflows/wiki.yml @@ -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