spostato aggiornamento tabella supabase sul worker del mac anche per FluxInstaller.exe
All checks were successful
Build and Release FLUX (Multi-Platform) / build-windows (push) Successful in 3m20s
Build and Release FLUX (Multi-Platform) / build-android (push) Successful in 1m44s
Build and Release FLUX (Multi-Platform) / build-web (push) Successful in 1m2s

This commit is contained in:
2026-05-25 16:45:51 +02:00
parent 4101b736e6
commit 2afe97c6db
2 changed files with 5 additions and 21 deletions

View File

@@ -33,19 +33,6 @@ jobs:
files: "build/windows/installer/FluxInstaller.exe"
api_key: ${{ secrets.MYRELEASE_TOKEN }}
- name: Aggiorna App Config su Supabase
run: |
$headers = @{
'apikey' = '${{ secrets.GITEA_SERVICE_KEY }}'
'Authorization' = 'Bearer ${{ secrets.GITEA_SERVICE_KEY }}'
}
$body = @{
download_url = 'https://gitea.catelli.it/brontomark/flux/releases/download/v1.0.15/FluxInstaller.exe'
} | ConvertTo-Json -Compress
Invoke-RestMethod -Uri 'pvqpjloswwvtfoxbkfbh/rest/v1/app_config?id=eq.49f18b19-2129-46c0-b690-a97db725b5a8' -Method PATCH -Headers $headers -ContentType 'application/json' -Body $body
- name: Pulisci Workspace Windows
if: always()
run: Remove-Item -Recurse -Force ./*
@@ -76,17 +63,14 @@ jobs:
files: "build/app/outputs/flutter-apk/app-release.apk"
api_key: ${{ secrets.MYRELEASE_TOKEN }}
- name: Aggiorna Link su Supabase
- name: Aggiorna Link Android su Supabase
run: |
curl -X PATCH "https://pvqpjloswwvtfoxbkfbh.supabase.co/rest/v1/app_config?id=eq.49f18b19-2129-46c0-b690-a97db725b5a8" -H "apikey: ${{ secrets.SUPABASE_SERVICE_KEY }}" -H "Authorization: Bearer ${{ secrets.SUPABASE_SERVICE_KEY }}" -H "Content-Type: application/json" -d "{\"download_url\": \"https://gitea.catelli.it/brontomark/flux/releases/download/${{ github.ref_name }}/app-release.apk\"}"
- name: Aggiorna Link su Supabase
- name: Aggiorna Link Windows su Supabase
run: |
curl -X PATCH "https://pvqpjloswwvtfoxbkfbh.supabase.co/rest/v1/app_config?id=eq.1" \
-H "apikey: ${{ secrets.SUPABASE_SERVICE_KEY }}" \
-H "Authorization: Bearer ${{ secrets.SUPABASE_SERVICE_KEY }}" \
-H "Content-Type: application/json" \
-d "{\"download_url_apk\": \"https://gitea.catelli.it/brontomark/flux/releases/download/${{ github.ref_name }}/app-release.apk\"}"
curl -X PATCH "https://pvqpjloswwvtfoxbkfbh.supabase.co/rest/v1/app_config?id=eq.1f888b30-5cbf-4a16-820c-5036a3af0cf8" -H "apikey: ${{ secrets.SUPABASE_SERVICE_KEY }}" -H "Authorization: Bearer ${{ secrets.SUPABASE_SERVICE_KEY }}" -H "Content-Type: application/json" -d "{\"download_url\": \"https://gitea.catelli.it/brontomark/flux/releases/download/${{ github.ref_name }}/FluxInstaller.exe\"}"
# -----------------------------------------------------------------
# JOB 3: WEB & CLOUDFLARE DEPLOY (Gira sul tuo MacBook)

View File

@@ -1,7 +1,7 @@
name: flux
description: "Gestione attività negozio di telefonia"
publish_to: 'none'
version: 1.0.17+17
version: 1.0.18+18
environment:
sdk: ^3.11.3