-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
31 lines (28 loc) · 662 Bytes
/
Copy pathdeploy.yaml
File metadata and controls
31 lines (28 loc) · 662 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Deploy Demo
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
env:
CI: true
run: npm install
- name: Build the plugin
run: npm run build:all
- name: Deploy Demo 🚀 https://kevinchappell.github.io/formBuilder/
if: success()
uses: JamesIves/github-pages-deploy-action@v4.3.0
with:
branch: gh-pages
folder: demo