Skip to content

Commit 6181a14

Browse files
committed
chore: remove unused release workflow & tweak prod one
1 parent 118f4b2 commit 6181a14

File tree

2 files changed

+4
-89
lines changed

2 files changed

+4
-89
lines changed

.github/workflows/publish-npm-beta.yml

Lines changed: 0 additions & 88 deletions
This file was deleted.

.github/workflows/publish-npm-latest.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 🏷️ Publish NPM Latest
1+
name: 🏷️ Lerna Publish NPM Latest
22

33
on:
44
workflow_dispatch:
@@ -122,8 +122,11 @@ jobs:
122122
pnpm exec lerna publish from-package --force-publish --yes --otp ${{ steps.wait-for-secrets.outputs.OTP }}
123123
124124
- name: Build Website (GitHub demo site)
125+
if: ${{ inputs.dryrun != true }}
125126
run: pnpm build:demo
126127

128+
# deploy (re-publish) GitHub demo page with a Prod build but only when merging to "master" branch
129+
# and the commit message contains the text "chore: release"
127130
- name: Deploy to gh-pages
128131
if: ${{ inputs.dryrun != true }}
129132
uses: peaceiris/actions-gh-pages@v4

0 commit comments

Comments
 (0)