Update back-to-school-campus-tour-2024 #863
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: Publish on Firestore workflow | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: install dependencies | |
run: npm install | |
- name: publish | |
run: npm run publish | |
env: | |
client_id: ${{ secrets.CLIENT_ID }} | |
private_key: ${{ secrets.PRIVATE_KEY }} | |
client_email: ${{ secrets.CLIENT_EMAIL }} | |
private_key_id: ${{ secrets.PRIVATE_KEY_ID }} | |
client_cert_url: ${{ secrets.CLIENT_CERT_URL }} |