Skip to content

Commit

Permalink
Merge pull request #50 from thefrontside/mk/update-workflows
Browse files Browse the repository at this point in the history
Update preview action source and environment variables
  • Loading branch information
minkimcello authored Apr 29, 2022
2 parents d8d8062 + c6569c6 commit fdd96b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
name: Publish Preview Packages
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
registry-url: https://registry.npmjs.org
- name: Publish PR Preview
uses: thefrontside/actions/publish-pr-preview@main
uses: thefrontside/actions/publish-pr-preview@v2
env:
GITHUB_TOKEN: ${{ secrets.FRONTSIDEJACK_GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.FRONTSIDEJACK_NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
with:
npm_publish: yarn publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.FRONTSIDEJACK_NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.FRONTSIDEJACK_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit fdd96b2

Please sign in to comment.