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
alzalia1 8188fc61c9
All checks were successful
/ test (release) Successful in 4m23s
fix: worflow mistake
2025-08-20 14:13:08 +02:00

18 lines
723 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
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 }}