Skip to content

Commit

Permalink
Create publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
布丁狗~ authored Sep 20, 2024
1 parent 5374fd7 commit 860523e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish

on: push
permissions: write-all

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: vimtor/action-zip@v1
with:
files: themes
dest: themes.zip
- name: Update Tag
uses: richardsimko/update-tag@v1
with:
tag_name: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v2
with:
name: Themes
tag_name: latest
token: ${{ secrets.GITHUB_TOKEN }}
files: themes.zip

0 comments on commit 860523e

Please sign in to comment.