File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed
Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 77 - rust
88
99permissions :
10- contents : write # for committing to gh-pages branch.
10+ contents : read
11+ pages : write
12+ id-token : write
1113
1214jobs :
1315 build-github-pages :
@@ -38,10 +40,18 @@ jobs:
3840 run : trunk build --release --public-url $public_url
3941 env :
4042 public_url : " https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/"
41- - name : Deploy
42- uses : JamesIves/github -pages-deploy-action@v4
43+ - name : Upload artifact
44+ uses : actions/upload -pages-artifact@v3
4345 with :
44- folder : crates/web_gui/dist
45- # this option will not maintain any history of your previous pages deployment
46- # set to false if you want all page build to be committed to your gh-pages branch history
47- single-commit : true
46+ path : crates/web_gui/dist
47+
48+ deploy :
49+ environment :
50+ name : github-pages
51+ url : ${{ steps.deployment.outputs.page_url }}
52+ runs-on : ubuntu-latest
53+ needs : build
54+ steps :
55+ - name : Deploy to GitHub Pages
56+ id : deployment
57+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 22< html lang ="en ">
33< head >
44 < meta charset ="utf-8 "/>
5- < title > Hello World </ title >
5+ < title > The Blockheads Save Editor </ title >
66 < style >
77 html , body {
88 margin : 0 ;
You can’t perform that action at this time.
0 commit comments