Skip to content

Deploy

Deploy #33

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: "17 9 * * *"
jobs:
deploy:
name: deploy
runs-on: ubuntu-20.04
env:
MODAL_TOKEN_ID: ${{ secrets.MODAL_TOKEN_ID }}
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_TOKEN_SECRET }}
MODAL_ENVIRONMENT: main
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: ./.github/actions/setup
- name: Deploy
run: |
modal token set --token-id $MODAL_TOKEN_ID --token-secret $MODAL_TOKEN_SECRET
modal deploy