spostato aggiornamento tabella supabase sul worker del mac anche per FluxInstaller.exe
This commit is contained in:
@@ -33,19 +33,6 @@ jobs:
|
|||||||
files: "build/windows/installer/FluxInstaller.exe"
|
files: "build/windows/installer/FluxInstaller.exe"
|
||||||
api_key: ${{ secrets.MYRELEASE_TOKEN }}
|
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
|
- name: Pulisci Workspace Windows
|
||||||
if: always()
|
if: always()
|
||||||
run: Remove-Item -Recurse -Force ./*
|
run: Remove-Item -Recurse -Force ./*
|
||||||
@@ -76,17 +63,14 @@ jobs:
|
|||||||
files: "build/app/outputs/flutter-apk/app-release.apk"
|
files: "build/app/outputs/flutter-apk/app-release.apk"
|
||||||
api_key: ${{ secrets.MYRELEASE_TOKEN }}
|
api_key: ${{ secrets.MYRELEASE_TOKEN }}
|
||||||
|
|
||||||
- name: Aggiorna Link su Supabase
|
- name: Aggiorna Link Android su Supabase
|
||||||
run: |
|
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\"}"
|
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: |
|
run: |
|
||||||
curl -X PATCH "https://pvqpjloswwvtfoxbkfbh.supabase.co/rest/v1/app_config?id=eq.1" \
|
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\"}"
|
||||||
-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\"}"
|
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
# JOB 3: WEB & CLOUDFLARE DEPLOY (Gira sul tuo MacBook)
|
# JOB 3: WEB & CLOUDFLARE DEPLOY (Gira sul tuo MacBook)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: flux
|
name: flux
|
||||||
description: "Gestione attività negozio di telefonia"
|
description: "Gestione attività negozio di telefonia"
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
version: 1.0.17+17
|
version: 1.0.18+18
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.11.3
|
sdk: ^3.11.3
|
||||||
|
|||||||
Reference in New Issue
Block a user