Skip to content

Merge pull request #16 from Supahands/develop #4

Merge pull request #16 from Supahands/develop

Merge pull request #16 from Supahands/develop #4

Workflow file for this run

name: CI/CD
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
env:
MODAL_TOKEN_ID: ${{ secrets.MODAL_TOKEN_ID }}
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_TOKEN_SECRET }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install Dependencies
run: |
poetry install
- name: Install Modal
run: |
python -m pip install --upgrade pip
pip install modal
- name: Deploy job
run: |
modal deploy --env dev deploy