Skip to content

Commit

Permalink
Fix publish GitHub action (#8015)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Cousens <dcousens@users.noreply.github.com>
  • Loading branch information
dcousens and dcousens committed Oct 19, 2022
1 parent bd9483a commit 1b49306
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/publish.yml
Expand Up @@ -18,12 +18,14 @@ jobs:

- run: yarn build

- name: npm publish, git tag, git push
uses: changesets/action@v1
with:
version: exit 1
publish: yarn changeset publish
createGithubReleases: false
- name: git config
run: |
git config --global user.name 'Keystonejs Release Bot'
git config --global user.email 'automation+keystonejs@thinkmill.com.au'
- name: npm publish, git tag
run: yarn changeset publish --tag latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- run: git push origin --follow-tags

1 comment on commit 1b49306

@vercel
Copy link

@vercel vercel bot commented on 1b49306 Oct 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.