File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -31,30 +31,30 @@ jobs:
3131 run : |
3232 npm install
3333
34- - name : Create dir for deploy
35- run : |
36- mkdir ./deploy
37- mkdir ./deploy/controller_ui
38- mkdir ./deploy/z_uno_compiler
39- mkdir ./deploy/controller_ui/beta
40- mkdir ./deploy/z_uno_compiler/beta
41-
4234 - name : Build controller_ui
4335 run : |
4436 npm run dev
45- mv ./build/* ./deploy/controller_ui/beta
37+
38+ - name : Deploy controller_ui
39+ uses : peaceiris/actions-gh-pages@v4
40+ with :
41+ github_token : ${{secrets.GITHUB_TOKEN}}
42+ publish_dir : ./build
43+ user_name : ' amatilda'
44+ 45+ commit_message : ' Auto-generated commit'
46+ publish_branch : ' gh-pages-beta'
4647
4748 - name : Build z-uno-compiler
4849 run : |
4950 npm run dev_zuno
50- mv ./build/* ./deploy/z_uno_compiler/beta
5151
52- - name : Deploy
52+ - name : Deploy z-uno-compiler
5353 uses : peaceiris/actions-gh-pages@v4
5454 with :
5555 github_token : ${{secrets.GITHUB_TOKEN}}
56- publish_dir : ./deploy
56+ publish_dir : ./build
5757 user_name : ' amatilda'
58585959 commit_message : ' Auto-generated commit'
60- publish_branch : ' gh-pages'
60+ publish_branch : ' gh-pages-z-uno-compiler-beta '
You can’t perform that action at this time.
0 commit comments