This repository has been archived on 2025-08-25. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Seshat/.forgejo/workflows/deploy.yml
Ninjdai 9144ef74d7
Some checks failed
/ test (release) Failing after 2m15s
fix(ci): assume yes in apt install
2025-08-20 11:57:43 +02:00

16 lines
599 B
YAML

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
- 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 }}