fix(ci): use flutter build command instead of script
Some checks failed
/ test (release) Failing after 1m44s
Some checks failed
/ test (release) Failing after 1m44s
This commit is contained in:
parent
82236a83ad
commit
594c54930e
1 changed files with 2 additions and 3 deletions
|
|
@ -13,7 +13,6 @@ jobs:
|
|||
export FLUTTER_VERSION=3.35.1
|
||||
git config --global --add safe.directory /workspace/UEAuvergne/Seshat/.setup-flutter/tool_cache/flutter/${FLUTTER_VERSION}/stable/flutter
|
||||
curl -fsSL https://raw.githubusercontent.com/flutter-actions/setup-flutter/${SETUP_FLUTTER_BRANCH}/install.sh | bash -s -- ${FLUTTER_VERSION} ${FLUTTER_CHANNEL}
|
||||
export FLUTTER_RUNNER_TOOL_CACHE="${RUNNER_TOOL_CACHE}/flutter/${FLUTTER_VERSION}/${FLUTTER_CHANNEL}"
|
||||
export PATH=$PATH:${FLUTTER_RUNNER_TOOL_CACHE}/flutter/bin
|
||||
- run: ./scripts/build-web.sh
|
||||
|
||||
- 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 }}
|
||||
|
|
|
|||
Reference in a new issue