Skip to content

Commit

Permalink
fix(github action): do not run publish on any branches
Browse files Browse the repository at this point in the history
  • Loading branch information
clok committed Mar 8, 2021
1 parent 9d5ccd0 commit 007a6f5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: Publish

on:
create:
push:
branches:
- "!*"
tags:
- '*'
- "*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
registry-url: https://registry.npmjs.org/
Expand Down

0 comments on commit 007a6f5

Please sign in to comment.