File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,35 +3,35 @@ name: Deploy Website
33on :
44 push :
55 branches :
6- - main
6+ - master
77
88jobs :
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 :
You can’t perform that action at this time.
0 commit comments