File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,18 +36,26 @@ jobs:
3636 npm install
3737
3838 - name : 生成静态文件 (Hexo Generate)
39- run : hexo generate
39+ run : npx hexo generate
4040
4141 - name : 构建 Reverse App
4242 working-directory : ./reverse-app
4343 run : |
4444 npm install
4545 npm run build
4646
47- - name : 将 Reverse App 移动到 public 目录
47+ - name : 构建 Commodity Crisis 游戏
48+ working-directory : ./commodity-crisis
4849 run : |
49- mkdir -p public/reverse-app
50- cp -r reverse-app/dist/* public/reverse-app/
50+ npm install
51+ npm run build
52+
53+ - name : 将游戏移动到 public 目录
54+ run : |
55+ mkdir -p public/games/reverse-app
56+ mkdir -p public/games/commodity-crisis
57+ cp -r reverse-app/dist/* public/games/reverse-app/
58+ cp -r commodity-crisis/dist/* public/games/commodity-crisis/
5159
5260 - name : 上传构建产物
5361 uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ ignore:
120120theme : butterfly
121121# Deployment
122122# # Docs: https://hexo.io/docs/one-command-deployment
123- # deploy:
124- # type: git
125- # repo: git@github.com:RubberTale/RubberTale.github.io.git
126- # branch: master
123+ deploy :
124+ type : git
125+ repo : git@github.com:RubberTale/RubberTale.github.io.git
126+ branch : master
You can’t perform that action at this time.
0 commit comments