Add Gitea Actions workflow for Firebase deployment
Deploy to Firebase Hosting / deploy (push) Failing after 1m21s
Deploy to Firebase Hosting / deploy (push) Failing after 1m21s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
name: Deploy to Firebase Hosting
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
PUBLIC_CMS_URL: https://cms.pm86.de
|
||||
PUBLIC_SITE_URL: https://windwiderstand.de
|
||||
run: yarn build
|
||||
|
||||
- name: Deploy to Firebase
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
run: npx firebase-tools deploy --only hosting --token "$FIREBASE_TOKEN" --non-interactive
|
||||
Reference in New Issue
Block a user