mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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
|
||||
run: npm config set registry 'https://wombat-dressing-room.appspot.com/'
|
||||
- name: Publish Puppeteer
|
||||
if: ${{ startsWith(github.ref_name, "v") }}
|
||||
if: ${{ startsWith(github.ref_name, 'v') }}
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_PUPPETEER}}
|
||||
run: |
|
||||
npm config set '//wombat-dressing-room.appspot.com/:_authToken' $NODE_AUTH_TOKEN
|
||||
npm publish --workspace packages/puppeteer
|
||||
- name: Publish packages
|
||||
if: ${{ !startsWith(github.ref_name, "v") }}
|
||||
if: ${{ !startsWith(github.ref_name, 'v') }}
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_RELEASE}}
|
||||
run: |
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
docker-publish:
|
||||
name: Publish Docker image
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ startsWith(github.ref_name, "v") }}
|
||||
if: ${{ startsWith(github.ref_name, 'v') }}
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
Loading…
Reference in New Issue
Block a user