Skip to content

Commit

Permalink
deploy: update release action
Browse files Browse the repository at this point in the history
Change-Id: I3a28246d45d54610ead358b6613922d467aa1053
  • Loading branch information
elonz committed Jun 30, 2021
1 parent f4d9e3b commit 3d8907e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: push

jobs:
build:
if: startsWith(github.ref, 'refs/tags/') # 先执行 git tag -a {tag} 再执行 git push origin {tag} 以触发更新
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -25,7 +26,6 @@ jobs:
zip -r typora-themes.zip ./
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') # 先执行 git tag -a {tag} 再执行 git push origin {tag} 以触发更新
with:
files: |
dist/themes/mweb-themes.zip
Expand Down

0 comments on commit 3d8907e

Please sign in to comment.