Skip to content

Commit

Permalink
ci: avoid git push locks
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Mar 24, 2021
1 parent 48f5829 commit 39b5bbe
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,16 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

push:
needs:
- publish
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- run: git push origin $GITHUB_SHA:main
- run: git push origin $GITHUB_SHA:v3.x

0 comments on commit 39b5bbe

Please sign in to comment.