Skip to content

Commit c326ffd

Browse files
committed
chore: enable wasm build in example deploy workflow
1 parent 0aec4e7 commit c326ffd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/deploy-example.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424

2525
- name: Build Flutter Web for Example
2626
working-directory: example
27-
run: flutter build web --release --base-href="/features_tour/"
27+
run: flutter build web --wasm --release --base-href="/features_tour/"
2828

29-
- name: rsync deployments
29+
- name: Copy files via SSH
3030
uses: appleboy/scp-action@v1
3131
with:
3232
host: ${{ secrets.SFTP_REMOTE_HOST }}
@@ -35,3 +35,4 @@ jobs:
3535
port: ${{ secrets.SFTP_REMOTE_PORT }}
3636
source: example/build/web
3737
target: ${{ secrets.SFTP_REMOTE_PATH }}
38+
strip_components: true

0 commit comments

Comments
 (0)