Skip to content

Commit fdd96b2

Browse files
authored
Merge pull request #50 from thefrontside/mk/update-workflows
Update preview action source and environment variables
2 parents d8d8062 + c6569c6 commit fdd96b2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/preview.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
name: Publish Preview Packages
1111
runs-on: ubuntu-20.04
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0
1616
- uses: actions/setup-node@v2
1717
with:
1818
registry-url: https://registry.npmjs.org
1919
- name: Publish PR Preview
20-
uses: thefrontside/actions/publish-pr-preview@main
20+
uses: thefrontside/actions/publish-pr-preview@v2
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.FRONTSIDEJACK_GITHUB_TOKEN }}
23-
NODE_AUTH_TOKEN: ${{ secrets.FRONTSIDEJACK_NPM_TOKEN }}
23+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ jobs:
1616
with:
1717
npm_publish: yarn publish
1818
env:
19-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20-
NPM_TOKEN: ${{ secrets.FRONTSIDEJACK_NPM_TOKEN }}
19+
GITHUB_TOKEN: ${{ secrets.FRONTSIDEJACK_GITHUB_TOKEN }}
20+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)