Skip to content

Commit 39b3666

Browse files
authored
vue_deploy.yml
1 parent 94d8512 commit 39b3666

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/vue_deploy.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Deploy Vue
44
on:
55
# Runs on pushes targeting the default branch
66
push:
7-
branches: ["vueElectron","vue"]
7+
branches: ["core","develop","framework","scratch","vite","electron","vue"]
88

99
# Allows you to run this workflow manually from the Actions tab
1010
workflow_dispatch:
@@ -29,27 +29,27 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- 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
3535
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
3939
run: npm i "@swc/wasm@1.3.94-nightly-20231014.1" glob -D
4040
- name: Build
4141
run: npm run build
4242
- name: Auto Enable GitHub Pages
4343
id: pages
44-
uses: actions/github-script@v7
44+
uses: actions/github-script@v6
4545
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;
5151
- name: Setup Pages
52-
uses: actions/configure-pages@v4
52+
uses: actions/configure-pages@v3
5353
with:
5454
enablement: true
5555
token: ${{ secrets.GITHUB_TOKEN }}
@@ -59,7 +59,7 @@ jobs:
5959
source: ./
6060
destination: ./_site
6161
- name: Upload artifact
62-
uses: actions/upload-pages-artifact@v3
62+
uses: actions/upload-pages-artifact@v1
6363
- name: Deploy to GitHub Pages
6464
id: deployment
65-
uses: actions/deploy-pages@v4
65+
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)