mirror of
https://github.com/danbulant/jose
synced 2026-05-22 13:58:47 +00:00
ci: populate main and v3.x after publish
This commit is contained in:
parent
f0f19849b4
commit
8f00fb5888
1 changed files with 4 additions and 0 deletions
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
|
|
@ -19,6 +19,8 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
|
|
@ -37,3 +39,5 @@ jobs:
|
|||
- run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
- run: git push origin $GITHUB_SHA:main
|
||||
- run: git push origin $GITHUB_SHA:v3.x
|
||||
|
|
|
|||
Loading…
Reference in a new issue