Skip to content

move examples that use Secrets out of main (#1011) #774

move examples that use Secrets out of main (#1011)

move examples that use Secrets out of main (#1011) #774

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
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 }}
MODAL_ENVIRONMENT: examples
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: ./.github/actions/setup
- name: Run deployment script
run: |
python3 internal/deploy.py --no-dry-run