on: release: types: [published] jobs: test: runs-on: docker steps: - run: apt update && apt install -y sshpass jq - uses: actions/checkout@v4 - name: Set up Flutter uses: https://github.com/subosito/flutter-action@v2 with: channel: stable flutter-version: 3.35.1 cache: true - run: git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.35.1-x64 - run: flutter build web --release --wasm --base-href /app/ - run: sshpass -p "${{ secrets.DEPLOY_PASSWORD }}" scp -o StrictHostKeyChecking=accept-new -rp build/web/* ${{ secrets.DEPLOY_USERNAME }}@${{ secrets.DEPLOY_ADDRESS }}:${{ secrets.DEPLOY_PATH }}