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 cbe51a8566
Some checks failed
/ test (release) Failing after 20s
fix(ci): add jq to apt install list
2025-08-20 11:55:48 +02:00

16 lines
596 B
YAML

on:
release:
types: [published]
jobs:
test:
runs-on: docker
steps:
- run: apt update && apt install 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 }}