fix: disable interactivity in Lambda (#388) #278
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 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy example apps | |
if: github.ref == 'refs/heads/main' | |
runs-on: ubuntu-20.04 | |
env: | |
MODAL_TOKEN_ID: ${{ secrets.MODAL_MODAL_LABS_TOKEN_ID }} | |
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_MODAL_LABS_TOKEN_SECRET }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install Modal client package and jupytext | |
run: pip install modal-client jupytext pydantic~=1.10 | |
- name: Run deployment script | |
run: | | |
python3 internal/deploy.py --no-dry-run |