Skip to content

Add confirmation dialog before publishing results in Results component #32

Add confirmation dialog before publishing results in Results component

Add confirmation dialog before publishing results in Results component #32

# 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