Merge pull request #406 from yeatmanlab/update-network-tests #130
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
name: Deploy Firestore Rules and Indexes (Development) | |
'on': | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-admin-rules: | |
name: Admin Rules | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
- name: Deploy to Firebase | |
uses: w9jds/firebase-action@v13.0.3 | |
with: | |
args: deploy --only firestore:rules | |
env: | |
GCP_SA_KEY: ${{ secrets.FIRESTORE_UPDATE_SERVICE_ACCOUNT_GSE_ROAR_ADMIN_DEV }} | |
PROJECT_ID: gse-roar-admin-dev | |
PROJECT_PATH: ./firebase/admin | |
deploy-assessment-rules: | |
name: Assessment Rules | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
- name: Deploy to Firebase | |
uses: w9jds/firebase-action@v13.0.3 | |
with: | |
args: deploy --only firestore:rules | |
env: | |
GCP_SA_KEY: ${{ secrets.FIRESTORE_UPDATE_SERVICE_ACCOUNT_GSE_ROAR_ASSESSMENT_DEV }} | |
PROJECT_ID: gse-roar-assessment-dev | |
PROJECT_PATH: ./firebase/assessment | |
deploy-admin-indexes: | |
name: Admin Indexes | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
- name: Deploy to Firebase | |
uses: w9jds/firebase-action@v13.0.3 | |
with: | |
args: deploy --only firestore:indexes | |
env: | |
GCP_SA_KEY: ${{ secrets.FIRESTORE_UPDATE_SERVICE_ACCOUNT_GSE_ROAR_ADMIN_DEV }} | |
PROJECT_ID: gse-roar-admin-dev | |
PROJECT_PATH: ./firebase/admin | |
deploy-assessment-indexes: | |
name: Assessment Indexes | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
- name: Deploy to Firebase | |
uses: w9jds/firebase-action@v13.0.3 | |
with: | |
args: deploy --only firestore:indexes | |
env: | |
GCP_SA_KEY: ${{ secrets.FIRESTORE_UPDATE_SERVICE_ACCOUNT_GSE_ROAR_ASSESSMENT_DEV }} | |
PROJECT_ID: gse-roar-assessment-dev | |
PROJECT_PATH: ./firebase/assessment |