Updated publish.yml

pull/54/head
MillenniumEarl 2020-11-22 14:05:58 +01:00
parent 3911e5a612
commit c358bc2dec
1 changed files with 2 additions and 3 deletions

View File

@ -2,8 +2,7 @@ name: publish
on: on:
push: push:
branches: branches: [master]
- main
jobs: jobs:
build: build:
@ -34,7 +33,7 @@ jobs:
- run: yarn publish - run: yarn publish
env: env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
publish-npm: publish-npm:
needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest