Skip to content

Commit

Permalink
ci: skip deploy repl in not master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Nov 25, 2020
1 parent a340efc commit a3f02fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/repl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

release:
name: Release to Github
if: github.repository == 'axetroy/changelog'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/master') && github.repository == 'axetroy/changelog'
needs: [ci]
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ bin
dist
coverage.out
release.md
node_modules
node_modules
.DS_Store

0 comments on commit a3f02fe

Please sign in to comment.