This commit is contained in:
parent
594c54930e
commit
7ca31c676c
1 changed files with 5 additions and 7 deletions
|
|
@ -7,12 +7,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- run: apt update && apt install sshpass
|
- run: apt update && apt install sshpass
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Flutter SDK
|
- name: Set up Flutter
|
||||||
run: |
|
uses: https://github.com/subosito/flutter-action@v2
|
||||||
export SETUP_FLUTTER_BRANCH=main
|
with:
|
||||||
export FLUTTER_VERSION=3.35.1
|
channel: stable
|
||||||
git config --global --add safe.directory /workspace/UEAuvergne/Seshat/.setup-flutter/tool_cache/flutter/${FLUTTER_VERSION}/stable/flutter
|
flutter-version: 3.35.1
|
||||||
curl -fsSL https://raw.githubusercontent.com/flutter-actions/setup-flutter/${SETUP_FLUTTER_BRANCH}/install.sh | bash -s -- ${FLUTTER_VERSION} ${FLUTTER_CHANNEL}
|
|
||||||
|
|
||||||
- run: flutter build web --release --wasm --base-href /app/
|
- 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 }}
|
- 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