Skip to content

Commit

Permalink
chore: add gh credentials to publish docs (#1923)
Browse files Browse the repository at this point in the history
These are needed to publish to the gh-pages branch.
  • Loading branch information
achingbrain authored Aug 1, 2023
1 parent b3c87b6 commit 5ffa7a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,13 @@ jobs:
git update-index --assume-unchanged packages/libp2p/src/version.ts
npm run --if-present release
env:
GITHUB_TOKEN: ${{ secrets.UCI_GITHUB_TOKEN || github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- if: ${{ !steps.release.outputs.releases_created }}
name: Run release rc
run: |
git update-index --assume-unchanged packages/libp2p/src/version.ts
npm run --if-present release:rc
env:
GITHUB_TOKEN: ${{ secrets.UCI_GITHUB_TOKEN || github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 5ffa7a7

Please sign in to comment.