chore: fix generated token for docs push (#4658)

This commit is contained in:
Gil Forsyth 2022-01-25 21:22:47 -05:00 committed by GitHub
parent 8e4cba5176
commit 278bd87d7c
Failed to generate hash of commit

View file

@ -29,11 +29,12 @@ jobs:
- name: Build Docs
run: cd docs && make html
- uses: tibdex/github-app-token@v1
if: github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' }}
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
repository: xonsh/xonsh-docs
- name: Deploy to dev if not tagged
if: github.event_name != 'pull_request' && !startsWith(github.ref, 'refs/tags/v')
uses: peaceiris/actions-gh-pages@v3