We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c47e83 commit f45e3e8Copy full SHA for f45e3e8
.github/workflows/npm.yml
@@ -36,10 +36,11 @@ jobs:
36
version: ${{ steps.version.outputs.tag }}
37
package: 'gatsby-theme-woly/'
38
39
- - name: Publish woly to NPM
40
- uses: primer/publish@3.0.0
41
- with:
42
- dir: 'gatsby-theme-woly'
+ - name: Create NPM config
+ run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
43
env:
44
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45
- NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
+ NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
+
+ - name: Publish theme to NPM
+ working-directory: ./gatsby-theme-woly
46
+ run: npm publish
0 commit comments