Skip to content

Commit ed592a0

Browse files
committed
feat: add tag workflows.
1 parent 9bed1f5 commit ed592a0

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
cat > idoc.yml << EOF
2020
site: "Web Serve"
2121
description: Web Serve is a simple and easy-to-use application designed for quickly setting up and managing local static servers, suitable for a variety of use cases
22-
keywords: Local Static Server,Application,Quick Setup,Server Management,Front-End Development,Real-Time Preview,File Transfer,Data Backup,IoT Devices,Offline Access,Development Efficiency,Cross-Origin Requests,Static Website,Local Sharing,Document Hosting
22+
keywords: Local Static Server,serve,http-server,Application,Quick Setup,Server Management,Front-End Development,Real-Time Preview,File Transfer,Data Backup,IoT Devices,Offline Access,Development Efficiency,Cross-Origin Requests,Static Website,Local Sharing,Document Hosting
2323
favicon: assets/logo.png
2424
logo: ./assets/logo.png
2525
openSource: https://github.com/jaywcjlove/web-serve

.github/workflows/tag.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
on:
3+
push:
4+
# branches:
5+
# - main
6+
tags:
7+
- v*
8+
9+
jobs:
10+
tags:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Extract version from tag
18+
id: extract_version
19+
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
20+
21+
- name: Create Tag
22+
id: create_tag
23+
uses: jaywcjlove/create-tag-action@main
24+
with:
25+
version: ${{ env.VERSION }}
26+
release: true

0 commit comments

Comments
 (0)