Skip to content

Commit

Permalink
Merge pull request #2295 from geneontology/issue-2235-b
Browse files Browse the repository at this point in the history
Check auth status before attempting workflow run request
  • Loading branch information
pkalita-lbl authored Apr 12, 2024
2 parents 17926de + 197e25c commit 285d363
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/trigger-website-rebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
private-key: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}

- name: Trigger deploy workflow in geneontology.github.io
run: gh workflow run deploy.yaml --repo geneontology/geneontology.github.io
run: |
gh auth status -t
gh workflow run deploy.yaml --repo geneontology/geneontology.github.io
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}

0 comments on commit 285d363

Please sign in to comment.