Skip to content

Commit 4f3d3e0

Browse files
committed
Add: Firebase publish GitHub action
1 parent 61a9295 commit 4f3d3e0

File tree

5 files changed

+8651
-0
lines changed

5 files changed

+8651
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish on Firestore workflow
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
publish:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- name: setup node
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: "16"
18+
- name: install dependencies
19+
run: npm install
20+
- name: publish
21+
run: npm run publish
22+
23+
env:
24+
client_id: ${{ secrets.CLIENT_ID }}
25+
private_key: ${{ secrets.PRIVATE_KEY }}
26+
client_email: ${{ secrets.CLIENT_EMAIL }}
27+
private_key_id: ${{ secrets.PRIVATE_KEY_ID }}
28+
client_cert_url: ${{ secrets.CLIENT_CERT_URL }}
29+

.prettierrc.json

Whitespace-only changes.

0 commit comments

Comments
 (0)