Skip to content

Commit

Permalink
[ci] deploy web app to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
pushpalroy committed Sep 7, 2024
1 parent a8dbda1 commit 5751e3b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
if: matrix.platform == 'ios'
uses: ./.github/workflows/setup/ios-setup

# Android
- name: Grant execute permission for Android script
if: matrix.platform == 'android'
run: chmod +x ./scripts/build_android.sh
Expand All @@ -48,6 +49,7 @@ jobs:
if: matrix.platform == 'android'
run: ./scripts/build_android.sh

# iOS
- name: Grant execute permission for iOS script
if: matrix.platform == 'ios'
run: chmod +x ./scripts/build_ios.sh
Expand All @@ -56,6 +58,7 @@ jobs:
if: matrix.platform == 'ios'
run: ./scripts/build_ios.sh

# Web
- name: Grant execute permission for Web script
if: matrix.platform == 'web'
run: chmod +x ./scripts/build_web.sh
Expand All @@ -64,6 +67,13 @@ jobs:
if: matrix.platform == 'web'
run: ./scripts/build_web.sh

- name: Deploy Web
uses: JamesIves/github-pages-deploy-action@4.6.4
with:
branch: gh-pages
folder: sample/composeApp/build/dist/wasmJs/productionExecutable

# MacOS
- name: Grant execute permission for MacOS script
if: matrix.platform == 'desktop'
run: chmod +x ./scripts/build_macos.sh
Expand Down

0 comments on commit 5751e3b

Please sign in to comment.