Skip to content

Commit

Permalink
Merge pull request #96 from VikeLabs/fix/auto-npm-publishing
Browse files Browse the repository at this point in the history
fix duplicate npm publishing issue
  • Loading branch information
isaaccormack authored Feb 24, 2021
2 parents 6857cfe + 248b1e6 commit 968ceee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
verbose: true # optional (default = false)

publish-npm:
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && github.actor == 'vikelabs-bot'
needs: [ lint, build, test ]
environment: deployment
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[![Contributors][contributors-shield]][contributors-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
![npm][npm-shield]
[![Code Coverage][coverage-shield]][coverage-url]

# uvic-course-scraper
Expand Down Expand Up @@ -142,5 +143,6 @@ This contains detailed information about a class like:
[stars-url]: https://github.com/VikeLabs/uvic-course-scraper/stargazers
[issues-shield]: https://img.shields.io/github/issues/VikeLabs/uvic-course-scraper.svg?style=flat-square
[issues-url]: https://github.com/othneildrew/VikeLabs/uvic-course-scraper/issues
[npm-shield]: https://img.shields.io/npm/v/@vikelabs/uvic-course-scraper?style=flat-square
[coverage-shield]: https://codecov.io/gh/VikeLabs/uvic-course-scraper/branch/master/graph/badge.svg?token=06B7FNZ8TH
[coverage-url]: https://codecov.io/gh/VikeLabs/uvic-course-scraper

0 comments on commit 968ceee

Please sign in to comment.