Files
windwiderstand.de/.gitea/workflows/deploy.yml
T
Peter Meier 8359eddee9
Deploy to Firebase Hosting / deploy (push) Successful in 3m20s
Remove caching configuration for Yarn in Gitea Actions workflow to streamline deployment process.
2026-03-17 23:20:09 +01:00

34 lines
745 B
YAML

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
- name: Enable Corepack (Yarn)
run: corepack enable
- 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