@@ -4,7 +4,7 @@ name: Deploy Vue
4
4
on :
5
5
# Runs on pushes targeting the default branch
6
6
push :
7
- branches : ["vueElectron ","vue"]
7
+ branches : ["core","develop","framework","scratch","vite","electron ","vue"]
8
8
9
9
# Allows you to run this workflow manually from the Actions tab
10
10
workflow_dispatch :
@@ -29,27 +29,27 @@ jobs:
29
29
runs-on : ubuntu-latest
30
30
steps :
31
31
- name : Checkout
32
- uses : actions/checkout@v4
33
- - name : Setup Node
34
- uses : actions/setup-node@v4
32
+ uses : actions/checkout@v3
33
+ - name : Set up Node
34
+ uses : actions/setup-node@v3
35
35
with :
36
- node-version : 21
37
- # cache: 'npm config --package-lock '
38
- - name : Custom Install
36
+ node-version : 18
37
+ cache : ' npm'
38
+ - name : Install dependencies With -D Resolving @vitejs/plugin-vue Conflict
39
39
run : npm i "@swc/wasm@1.3.94-nightly-20231014.1" glob -D
40
40
- name : Build
41
41
run : npm run build
42
42
- name : Auto Enable GitHub Pages
43
43
id : pages
44
- uses : actions/github-script@v7
44
+ uses : actions/github-script@v6
45
45
with :
46
- script : |
47
- return (await github.rest.repos.createPagesSite({
48
- owner: context.repo.owner,
49
- repo: context.repo.repo,
50
- })).html_url;
46
+ script : |
47
+ return (await github.rest.repos.createPagesSite({
48
+ owner: context.repo.owner,
49
+ repo: context.repo.repo,
50
+ })).html_url;
51
51
- name : Setup Pages
52
- uses : actions/configure-pages@v4
52
+ uses : actions/configure-pages@v3
53
53
with :
54
54
enablement : true
55
55
token : ${{ secrets.GITHUB_TOKEN }}
59
59
source : ./
60
60
destination : ./_site
61
61
- name : Upload artifact
62
- uses : actions/upload-pages-artifact@v3
62
+ uses : actions/upload-pages-artifact@v1
63
63
- name : Deploy to GitHub Pages
64
64
id : deployment
65
- uses : actions/deploy-pages@v4
65
+ uses : actions/deploy-pages@v1
0 commit comments