File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed
Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Landing to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ paths :
7+ - ' web/landing/**'
8+ - ' .github/workflows/deploy-landing.yml'
9+ workflow_dispatch :
10+
11+ permissions :
12+ contents : read
13+ pages : write
14+ id-token : write
15+
16+ concurrency :
17+ group : ' pages'
18+ cancel-in-progress : true
19+
20+ jobs :
21+ build :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v4
26+
27+ - name : Setup Node
28+ uses : actions/setup-node@v4
29+ with :
30+ node-version : 18
31+
32+ - name : Build landing site
33+ working-directory : web/landing
34+ run : |
35+ npm ci
36+ npm run build
37+
38+ - name : Upload artifact
39+ uses : actions/upload-pages-artifact@v3
40+ with :
41+ path : web/landing/dist
42+
43+ deploy :
44+ environment :
45+ name : github-pages
46+ url : ${{ steps.deployment.outputs.page_url }}
47+ runs-on : ubuntu-latest
48+ needs : build
49+ steps :
50+ - name : Deploy to GitHub Pages
51+ id : deployment
52+ uses : actions/deploy-pages@v4
53+
Original file line number Diff line number Diff line change 1+ scriberr.app
You can’t perform that action at this time.
0 commit comments