Add Gitea Actions deploy workflow
Build and deploy to Firebase Hosting / build-and-deploy (push) Failing after 1m48s

This commit is contained in:
2026-09-27 13:09:44 +00:00
parent d1d913b9e4
commit a35845a18a
+26
View File
@@ -0,0 +1,26 @@
name: Build and deploy to Firebase Hosting
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build
- name: Deploy to Firebase Hosting
env:
FIREBASE_SERVICE_ACCOUNT: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
run: |
echo "$FIREBASE_SERVICE_ACCOUNT" > "$RUNNER_TEMP/firebase-sa.json"
GOOGLE_APPLICATION_CREDENTIALS="$RUNNER_TEMP/firebase-sa.json" npx firebase-tools@latest deploy --project itsamejms --only hosting --non-interactive