Skip to content

Commit 323d3ab

Browse files
committed
2 parents 19308b0 + 69eecd0 commit 323d3ab

3 files changed

Lines changed: 68 additions & 41 deletions

File tree

.github/workflows/build.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Build and Deploy to cf-page Branch
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
id-token: write
14+
15+
steps:
16+
- name: Checkout code 🛎️
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Node.js ⚙️
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '20'
23+
cache: 'npm'
24+
25+
- name: Skip Scripts Install 📦
26+
run: npm i --skip-scripts
27+
28+
- name: Install cross-fetch 📦
29+
run: npm i cross-fetch
30+
31+
- name: Install dependencies 📦
32+
run: npm i
33+
34+
- name: Build 🏗️
35+
run: npm run build
36+
37+
- name: Zip build folder 📦
38+
run: zip -r build.zip ./build
39+
40+
- name: Upload build artifact 📤
41+
uses: actions/upload-artifact@v4
42+
with:
43+
name: build-artifact
44+
path: ./build.zip
45+
46+
- name: Deploy to cf-page branch 🚀
47+
uses: peaceiris/actions-gh-pages@v4
48+
with:
49+
github_token: ${{ secrets.GITHUB_TOKEN }}
50+
publish_dir: ./build
51+
publish_branch: cf-page

.github/workflows/main111.yml

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

😅

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
鬼 – 草东没有派对
2+
词:草东没有派对
3+
曲:草东没有派对
4+
从没想过要伤害谁
5+
对一切也都感到抱歉
6+
可是我的自卑胜过了一切爱我的
7+
于是我把爱人们都杀死了
8+
可是你的伤悲胜过了一切爱你的
9+
于是你把我给杀死了
10+
是为了什么而流着血
11+
是为了谁而流眼泪
12+
我躲在夜里取笑着黑
13+
因为没有人能杀死鬼
14+
是为了什么而流着血
15+
是为了谁而流眼泪
16+
我躲在夜里取笑着黑
17+
因为没有人能杀死鬼

0 commit comments

Comments
 (0)