Add release notes feature, enhance error handling, and update styles … #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |