Skip to content

Commit fcfd5ee

Browse files
committed
Update cd.yml
1 parent 8c52dae commit fcfd5ee

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/cd.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,11 @@ jobs:
2727
folder: public
2828
target-folder: public
2929
single-commit: true
30+
- name: Publish
31+
id: publish
32+
uses: JS-DevTools/npm-publish@v1
33+
with:
34+
token: ${{ secrets.NPM_TOKEN }}
35+
- if: steps.publish.outputs.type != 'none'
36+
run: |
37+
echo "Version changed: ${{ steps.publish.outputs.old-version }} → ${{ steps.publish.outputs.version }}"

0 commit comments

Comments
 (0)