Skip to content

Commit 759ef7d

Browse files
authored
Use setup-firebase instead of the old one (#1958)
* Use setup-firebase * Formatting * Use the same version node setup code as prod * Pin w9jds/setup-firebase
1 parent e8d8ce1 commit 759ef7d

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/deploy-python-backend-dev.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,19 @@ jobs:
2020
steps:
2121
- name: Checkout code
2222
uses: actions/checkout@v5
23-
- name: Install Python 3.11
24-
run: |
25-
sudo add-apt-repository ppa:deadsnakes/ppa -y
26-
sudo apt update
27-
sudo apt install python3.11 python3.11-venv python3-pip
23+
- name: Setup build environment
24+
uses: ./.github/actions/setup-repo
25+
- name: Setup python
26+
uses: actions/setup-python@v6
27+
with:
28+
python-version: "3.11"
2829
- name: Build and deploy to Firebase
29-
uses: w9jds/[email protected]
30+
# The only tag on this repo is v1.0.0, but it is very old
31+
# This SHA is main as of 2025-10-21
32+
uses: w9jds/setup-firebase@869785322147e6a53d463a55db0a5af1b4ce4ba6
3033
with:
31-
args: deploy --force --only functions:maple-llm
34+
tools-version: 13.8.0
35+
- run: firebase deploy --force --only functions:maple-llm
3236
env:
3337
GCP_SA_KEY: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
3438
ASSEMBLY_API_KEY: ${{ secrets.ASSEMBLY_API_KEY }}

0 commit comments

Comments
 (0)