Skip to content

Commit

Permalink
fix deploy functions 7
Browse files Browse the repository at this point in the history
  • Loading branch information
yevkim committed Nov 26, 2024
1 parent 9c6fd78 commit 6f7f6b6
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/deploy_functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,23 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v3

# Step 2: Set up Node.js environment
- name: Setup Node.js
uses: actions/setup-node@v3
# Step 2: Set up Python environment
- name: Setup Python
uses: actions/setup-python@v4
with:
node-version: 18
python-version: 3.10

# Step 3: Install Firebase CLI
- name: Install Firebase CLI
run: npm install -g firebase-tools

# Step 4: Install Dependencies
# Step 4: Install Python Dependencies
- name: Install Dependencies
run: |
npm install
working-directory: ./backend/functions
python -m venv venv
source venv/bin/activate
pip install --no-cache-dir -r functions/requirements.txt
working-directory: ./backend

# Step 5: Deploy Firebase Functions
- name: Deploy Firebase Functions
Expand Down

0 comments on commit 6f7f6b6

Please sign in to comment.