chore: update publish.yml (#9068)
This commit is contained in:
parent
58ac7a687c
commit
790afd14a8
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@ -22,14 +22,14 @@ jobs:
|
|||||||
- name: Set npm registry
|
- name: Set npm registry
|
||||||
run: npm config set registry 'https://wombat-dressing-room.appspot.com/'
|
run: npm config set registry 'https://wombat-dressing-room.appspot.com/'
|
||||||
- name: Publish Puppeteer
|
- name: Publish Puppeteer
|
||||||
if: ${{ startsWith(github.ref_name, "v") }}
|
if: ${{ startsWith(github.ref_name, 'v') }}
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER}}
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER}}
|
||||||
run: |
|
run: |
|
||||||
npm config set '//wombat-dressing-room.appspot.com/:_authToken' $NODE_AUTH_TOKEN
|
npm config set '//wombat-dressing-room.appspot.com/:_authToken' $NODE_AUTH_TOKEN
|
||||||
npm publish --workspace packages/puppeteer
|
npm publish --workspace packages/puppeteer
|
||||||
- name: Publish packages
|
- name: Publish packages
|
||||||
if: ${{ !startsWith(github.ref_name, "v") }}
|
if: ${{ !startsWith(github.ref_name, 'v') }}
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_RELEASE}}
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_RELEASE}}
|
||||||
run: |
|
run: |
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
docker-publish:
|
docker-publish:
|
||||||
name: Publish Docker image
|
name: Publish Docker image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ startsWith(github.ref_name, "v") }}
|
if: ${{ startsWith(github.ref_name, 'v') }}
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
Loading…
Reference in New Issue
Block a user