File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+
7+ permissions :
8+ contents : write
9+
10+ jobs :
11+ deploy :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - name : Use Node.js
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : ' 20.x'
21+ cache : ' npm'
22+
23+ - name : Install dependencies
24+ run : npm ci
25+
26+ - name : Build
27+ run : npm run build
28+
29+ - name : Deploy to GitHub Pages
30+ run : |
31+ git config user.name "github-actions[bot]"
32+ git config user.email "github-actions[bot]@users.noreply.github.com"
33+ npx gh-pages -d build --message "Deploy [skip ci]"
34+ env :
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11{
2- "homepage" : " https://DeanKuruzovich .github.io/BooleanAlgebraVisualizer " ,
2+ "homepage" : " https://booleanalgebravisualizer .github.io" ,
33 "version" : " 1.0.0" ,
44 "description" : " " ,
55 "main" : " index.js" ,
You can’t perform that action at this time.
0 commit comments