This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
chore(deps): bump the pip group across 1 directory with 4 updates (#221) #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Modal | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "stable_diffusion/**" | |
jobs: | |
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.12" | |
- name: Install Modal | |
run: | | |
python -m pip install --upgrade pip | |
pip install modal-client | |
- name: Deploy job | |
run: | | |
modal deploy stable_diffusion.main |