Fix GITHUB_REPOSITORY value

This commit is contained in:
Peter Parente
2020-08-09 12:43:40 -04:00
parent 4c2cbe5b1b
commit 84b7e4b69d

View File

@@ -60,8 +60,8 @@ jobs:
run: make -C main push-all
- name: Push Wiki to GitHub
if: github.ref == 'refs/heads/master'
run: make -C main git-commit
# Pass GITHUB_REPOSITORY directly to avoid conflict with GitHub Actions built-in env var
run: make -C main git-commit GITHUB_REPOSITORY='${{ github.repository }}.wiki'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{github.repository}}.wiki
LOCAL_PATH: ../wiki