From 86d30f4ff238914f439ec79cb88449f8f5878208 Mon Sep 17 00:00:00 2001 From: Shawn Date: Wed, 25 Sep 2024 21:52:30 -0600 Subject: [PATCH] Update build_web.yml --- .github/workflows/build_web.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_web.yml b/.github/workflows/build_web.yml index dca6aff1..668f356b 100644 --- a/.github/workflows/build_web.yml +++ b/.github/workflows/build_web.yml @@ -27,13 +27,14 @@ jobs: run: flutter config --enable-web - name: Build Flutter web app - run: flutter build web --release + run: flutter build web --release --wasm - - name: Upload to FTP - uses: SamKirkland/FTP-Deploy-Action@4.3.3 + - name: Upload to SFTP + uses: wlixcc/SFTP-Deploy-Action@v1.2.4 with: server: ${{ secrets.FTP_SERVER }} username: ${{ secrets.FTP_USERNAME }} password: ${{ secrets.FTP_PASSWORD }} - local-dir: build/web/ - server-dir: /wonderous.app/web_test/ + local_path: build/web/ + remote_path: /wonderous.app/web_test/ + sftp_only: true