Skip to content

Commit 7c769ba

Browse files
committed
fix: enable workflow
1 parent 60c02e3 commit 7c769ba

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,35 @@ name: Deploy Website
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77

88
jobs:
99
build-and-deploy:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
# 检出代码
13+
# Check out the code
1414
- name: Checkout code
1515
uses: actions/checkout@v3
1616

17-
# 设置 Node.js 环境
17+
# Set up Node.js environment
1818
- name: Setup Node.js
1919
uses: actions/setup-node@v3
2020
with:
2121
node-version: 'lts/*'
2222

23-
# 安装依赖
23+
# Install dependencies
2424
- name: Install dependencies
2525
run: |
2626
npm install
2727
npm install hexo-theme-stellar
2828
npm audit fix
2929
30-
# 生成静态文件
30+
# Generate static files
3131
- name: Generate static files
3232
run: hexo generate
3333

34-
# 部署到 GitHub Pages
34+
# Deploy to GitHub Pages
3535
- name: Deploy to GitHub Pages
3636
uses: peaceiris/actions-gh-pages@v3
3737
with:

0 commit comments

Comments
 (0)