Skip to content

Commit

Permalink
Update build_web.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
esDotDev authored Sep 26, 2024
1 parent 767a37e commit 5912b84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_web.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Deploy Flutter Web App
name: Build and Deploy Flutter Web - Staging

on:
push:
Expand Down Expand Up @@ -27,7 +27,7 @@ jobs:
run: flutter config --enable-web

- name: Build Flutter web app
run: flutter build web --release --wasm
run: flutter build web --wasm

- name: Update base href in index.html
run: sed -i 's|<base href="/">|<base href="/web/">|g' build/web/index.html
Expand All @@ -39,5 +39,5 @@ jobs:
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local_path: ./build/web/*
remote_path: wonderous.app/web-staging
remote_path: staging.wonderous.app/web
sftp_only: true

0 comments on commit 5912b84

Please sign in to comment.