File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 55 branches : [main]
66
77permissions :
8- contents : write
8+ contents : read
9+ pages : write
10+ id-token : write
911
1012jobs :
1113 test-and-build-and-deploy :
1214 runs-on : ubuntu-latest
15+ environment :
16+ name : github-pages
17+ url : ${{ steps.deployment.outputs.page_url }}
1318 steps :
1419 - name : Checkout
1520@@ -32,12 +37,15 @@ jobs:
3237 run : |
3338 echo $SECRETS_BASE64 | base64 --decode > secrets.properties
3439
35- - name : Build
40+ - name : Build Page
3641 run : |
3742 ./gradlew wasmJsBrowserDistribution --no-configuration-cache
3843
39- - name : Deploy
40- uses : JamesIves/github -pages-deploy-action @v4.7.3
44+ - name : Upload artifact
45+ uses : actions/upload -pages-artifact @v4
4146 with :
42- branch : gh-pages
43- folder : composeApp/build/dist/wasmJs/productionExecutable
47+ path : ' composeApp/build/dist/wasmJs/productionExecutable'
48+
49+ - name : Deploy to GitHub Pages
50+ id : deployment
51+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments