File tree Expand file tree Collapse file tree 2 files changed +69
-0
lines changed
Expand file tree Collapse file tree 2 files changed +69
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Live-debugger landing page build check
2+ on :
3+ pull_request :
4+ paths :
5+ - " .github/workflows/landing-build-check.yml"
6+ - landing/**
7+ merge_group :
8+ branches :
9+ - main
10+ workflow_call :
11+ workflow_dispatch :
12+
13+ jobs :
14+ live-debugger-landing-build-check :
15+ if : github.repository == 'software-mansion/live-debugger'
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Check out
19+ uses : actions/checkout@v4
20+ with :
21+ submodules : " true"
22+ - name : Use Node.js
23+ uses : actions/setup-node@v4
24+ with :
25+ cache : " npm"
26+ cache-dependency-path : landing/package-lock.json
27+ - name : Install node dependencies
28+ working-directory : landing
29+ run : npm install
30+ - name : Build landing page
31+ working-directory : landing
32+ run : npm run build
Original file line number Diff line number Diff line change 1+ name : Live-debugger landing page publish
2+ on :
3+ push :
4+ paths :
5+ - " .github/workflows/landing-publish.yml"
6+ - landing/**
7+ branches :
8+ - main
9+ workflow_dispatch :
10+
11+ jobs :
12+ live-debugger-landing-publish :
13+ if : github.repository == 'software-mansion/live-debugger'
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Check out
17+ uses : actions/checkout@v4
18+ with :
19+ submodules : " true"
20+ - name : Use Node.js
21+ uses : actions/setup-node@v4
22+ with :
23+ cache : " npm"
24+ cache-dependency-path : landing/package-lock.json
25+ - name : Install node dependencies
26+ working-directory : landing
27+ run : npm install
28+ - name : Build landing page
29+ working-directory : landing
30+ run : npm run build
31+
32+ - name : Publish generated content to GitHub Pages
33+ uses : JamesIves/github-pages-deploy-action@releases/v3
34+ with :
35+ FOLDER : landing/dist
36+ BRANCH : gh-pages
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments