Skip to content

Commit f8b704f

Browse files
committed
update gh pages deployment actioon
1 parent 2d6dc5f commit f8b704f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build-and-publish-web.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,17 @@ jobs:
2121
uses: actions/checkout@v4
2222

2323
# Build application
24-
- name: Test and Build
25-
run: ./gradlew :composeApp:wasmJsBrowserProductionWebpack
24+
- name: Build
25+
run: ./gradlew :compose-web:wasmJsBrowserDistribution
2626

2727
# - name: Copy "uninstantiated" file over (workaround for now)
2828
# run: cp compose-web/build/compileSync/wasmJs/main/productionExecutable/kotlin/chip8.uninstantiated.mjs compose-web/build/dist/wasmJs/productionExecutable
2929

3030
# If main branch update, deploy to gh-pages
3131
- name: Deploy
3232
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
33-
uses: JamesIves/github-pages-deploy-action@v4.5.0
33+
uses: JamesIves/github-pages-deploy-action@v4.6.1
3434
with:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3635
BRANCH: gh-pages # The branch the action should deploy to.
3736
FOLDER: composeApp/build/dist/wasmJs/productionExecutable # The folder the action should deploy.
3837
CLEAN: true # Automatically remove deleted files from the deploy branch

0 commit comments

Comments
 (0)