Skip to content

Commit b266012

Browse files
committed
one gh-pages
1 parent 084408e commit b266012

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/beta.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff 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+
3442
- name: Build controller_ui
3543
run: |
3644
npm run dev
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-
user_email: '<[email protected]>'
45-
commit_message: 'Auto-generated commit'
46-
publish_branch: 'gh-pages-beta'
45+
mv ./build/* ./deploy/controller_ui/beta
4746
4847
- name: Build z-uno-compiler
4948
run: |
5049
npm run dev_zuno
50+
mv ./build/* ./deploy/z_uno_compiler/beta
5151
52-
- name: Deploy z-uno-compiler
52+
- name: Deploy
5353
uses: peaceiris/actions-gh-pages@v4
5454
with:
5555
github_token: ${{secrets.GITHUB_TOKEN}}
56-
publish_dir: ./build
56+
publish_dir: ./deploy
5757
user_name: 'amatilda'
5858
user_email: '<[email protected]>'
5959
commit_message: 'Auto-generated commit'
60-
publish_branch: 'gh-pages-z-uno-compiler-beta'
60+
publish_branch: 'gh-pages'

0 commit comments

Comments
 (0)