Skip to content

Commit

Permalink
Fix gh-pages publishing (#25)
Browse files Browse the repository at this point in the history
The `gh-pages` actions were not triggering because they are triggered
by a tag. The tag was being added by GitHub actions, so the trigger
failed because GitHub actions ignores self-initiated events.

A personal access token belonging to the `metamaskbot` account has been
added to this repository as a secret. This allows us to tag using the
bot's account, ensuring the later triggers work correctly.

Fixes #13
  • Loading branch information
Gudahtt authored Jul 12, 2022
1 parent 554b5b6 commit c023169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}
- uses: MetaMask/action-publish-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.METAMASKBOT_PUBLISH_TOKEN }}

0 comments on commit c023169

Please sign in to comment.