Skip to content

Commit fc88eb8

Browse files
committed
ci: update GitHub workflows
1 parent b263fb2 commit fc88eb8

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/gh-pages.yml renamed to .github/workflows/demo.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: GitHub Pages Sync
1+
name: Build demo app
22

33
on:
44
push:
5-
branches: ["master"]
5+
branches: ["vue3"]
66

77
jobs:
88
deploy:
@@ -24,12 +24,13 @@ jobs:
2424
run: npm install
2525

2626
- name: Build demo
27-
run: npm run build:demo
27+
run: APP_BASE=/vue-form-builder/demo npm run build:demo
2828

2929
- name: Deploy
3030
uses: peaceiris/actions-gh-pages@v4
3131
with:
3232
github_token: ${{ secrets.GITHUB_TOKEN }}
3333
publish_branch: demo
3434
publish_dir: ./demo
35+
destination_dir: demo
3536
commit_message: update demo

.github/workflows/tests.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3-
4-
name: Node.js CI
1+
name: Automated tests
52

63
on:
74
push:
@@ -17,7 +14,6 @@ jobs:
1714
strategy:
1815
matrix:
1916
node-version: [16.x, 18.x, 20.x]
20-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2117

2218
steps:
2319
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)