Skip to content

Commit

Permalink
Merge pull request #15 from seriouslag/fix/ci-ghtoken
Browse files Browse the repository at this point in the history
ci: add ghtoken
  • Loading branch information
seriouslag authored Apr 11, 2024
2 parents ca8d2fc + ba635ea commit 2223d39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@ jobs:
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/$GITHUB_REPOSITORY
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Publish
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: HUSKY_SKIP_HOOKS=1 npx lerna publish --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit 2223d39

Please sign in to comment.