VEZwolle / vezy-worship

📽️ Presentatiesoftware voor beamer én livestream
https://vezy-worship.web.app
9 stars 0 forks source link

firebase-deploy action --> User Token - DEPRECATED #195

Open J76F opened 11 months ago

J76F commented 11 months ago

⚠ Authenticating with FIREBASE_TOKEN is deprecated and will be removed in a future major version of firebase-tools. Instead, use a service account key with GOOGLE_APPLICATION_CREDENTIALS: https://cloud.google.com/docs/authentication/getting-started

https://firebaseopensource.com/projects/firebase/firebase-tools/ https://cloud.google.com/docs/authentication/getting-started

J76F commented 4 weeks ago

https://github.com/VEZwolle/vezy-worship/actions/runs/9373578438

--> Geeft nu een fout. Voor nu handmatig gedaan.

firebase login & use vezy
firebase deploy --only function
npm run build
firebase deploy --only hosting
J76F commented 3 weeks ago

https://github.com/w9jds/firebase-action?tab=readme-ov-file#environment-variables in github actions: FIREBASE_TOKEN --> GCP_SA_KEY gewijzigd; en bestaande sicret firebase servise account gekoppeld. --> Hosting deploy werkte; functions nog niet. Extra rollen toegevoegd aan service accout github actions --> Zie boven. https://console.cloud.google.com/iam-admin/iam?authuser=0&project=vezy-worship&hl=en

--> nog kan functions nog niet updaten --> nog nader bekijken.

J76F commented 3 weeks ago

in log api functions te zien welke premissie miste; toegevoegd en update nu. https://github.com/VEZwolle/vezy-worship/actions/runs/9391858188/job/25866554956


✔  functions[api(europe-west1)] Successful update operation.
Function URL (api(europe-west1)): https://europe-west1-vezy-worship.cloudfunctions.net/api
i  functions: cleaning up build files...
⚠  functions: Unhandled error cleaning up build images. This could result in a small monthly bill if not corrected. You can attempt to delete these images by redeploying or you can delete them manually at https://console.cloud.google.com/artifacts/docker/vezy-worship/europe-west1/gcf-artifacts
i  hosting[vezy-worship]: finalizing version...
✔  hosting[vezy-worship]: version finalized
i  hosting[vezy-worship]: releasing new version...

nog wel een clean error --> is dat misschien oude us locatie?