Skip to content

Commit 084408e

Browse files
committed
restore
1 parent 27e0685 commit 084408e

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-
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+
user_email: '<[email protected]>'
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'
5858
user_email: '<[email protected]>'
5959
commit_message: 'Auto-generated commit'
60-
publish_branch: 'gh-pages'
60+
publish_branch: 'gh-pages-z-uno-compiler-beta'

0 commit comments

Comments
 (0)