Skip to content

Commit 25b1bf2

Browse files
author
Wes Biggs
committed
Don't deploy when publishing to npm, only when merging to main
1 parent bea9ccd commit 25b1bf2

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Deploy to GitHub Pages
33

44
on:
55
push:
6-
tags:
7-
- 'v[0-9]+.[0-9]+.[0-9]+' # ex. v1.0.0
86
branches:
97
- main
108
# Allows you to run this workflow manually from the Actions tab

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: npm version --new-version ${{ github.event.release.tag_name }} --no-git-tag-version
2727
working-directory: dist
2828

29-
- name: NPM Access Config
29+
- name: NPM Access Config
3030
run: npm config set //registry.npmjs.org/:_authToken ${{secrets.NPM_AUTH_TOKEN}}
3131

3232
- name: Publish 🚂

0 commit comments

Comments
 (0)