File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed
Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change 11# .github/workflows/static.yml
22name : Deploy to GitHub Pages
33
4- on :
5- push :
6- branches : [main]
7- workflow_dispatch :
8-
9- permissions :
10- contents : write
11-
12- jobs :
13- build_and_deploy :
14- runs-on : ubuntu-latest
15- steps :
16- - name : Checkout repo
17- uses : actions/checkout@v4
18-
19- - name : Setup Node.js
20- uses : actions/setup-node@v4
21- with :
22- node-version : 20
23-
24- - name : Run build script
25- run : |
26- chmod +x Build/Buildscripts/build.sh
27- ./Build/Buildscripts/build.sh
28-
29- - name : Deploy to GitHub Pages
30- uses : JamesIves/github-pages-deploy-action@v4
31- with :
32- branch : gh-pages
33- folder : Build/dist
34- # .github/workflows/static.yml
35- name : Deploy to GitHub Pages
36-
374on :
385 push :
396 branches : [main]
You can’t perform that action at this time.
0 commit comments