Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Commit

Permalink
Update npm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mymindstorm authored Feb 27, 2020
1 parent 0061837 commit dd6dcc0
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
name: Publish

on:
push:
branches:
- release

env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
release:
types: [published]

jobs:
build:

runs-on: ubuntu-latest

steps:
Expand All @@ -28,3 +23,5 @@ jobs:
path: build
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

0 comments on commit dd6dcc0

Please sign in to comment.