Skip to content

Merge branch 'master' of https://github.com/johangrims/waldorfwahlen #15

Merge branch 'master' of https://github.com/johangrims/waldorfwahlen

Merge branch 'master' of https://github.com/johangrims/waldorfwahlen #15

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on Commit
on:
push:
branches:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: npm install && npm run build
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_WALDORFWAHLEN }}
channelId: live
projectId: waldorfwahlen
# Firestore Rules Deployment Step
# - name: Install Firebase CLI
# run: npm install -g firebase-tools
# - name: Deploy Firestore Rules
# env:
# FIREBASE_TOKEN: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_WALDORFWAHLEN }}
# run: firebase deploy --only firestore:rules --debug