File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,12 @@ jobs:
1414 runs-on : ubuntu-latest
1515 steps :
1616 # Step 1: Checkout the code
17- - uses : actions/checkout@v3
17+ - uses : actions/checkout@v4
1818
1919 # Step 1.5: Environment variables
2020 - name : create env file
21- working-directory : backend
21+ working-directory : backend/functions
2222 run : |
23- cd functions
2423 touch .env
2524 echo "${{ secrets.FUNCTIONS_ENV_VARS_PROD }}" >> .env
2625
3231
3332 # Step 3: Set up Node.js environment
3433 - name : Set up Node
35- uses : actions/setup-node@v3
34+ uses : actions/setup-node@v4
3635 with :
37- node-version : 19.7.0
36+ node-version : ' 20 '
3837
3938 # Step 3.5: Download the ZIP file from Google Drive
4039 - name : Download Models ZIP
6968 . venv/bin/activate
7069 npx firebase-tools --version
7170 python3.10 -m pip install -r requirements.txt
71+ npm install -g firebase-tools@14.2.0
72+ npx firebase-tools --version
7273
7374 # Step 6: deploy functions
7475 - name : Deploy functions
You can’t perform that action at this time.
0 commit comments