22 lines
580 B
YAML
22 lines
580 B
YAML
name: Test Gitea Secrets
|
|
on: [push]
|
|
|
|
jobs:
|
|
deploy-to-modal:
|
|
runs-on: ubuntu-latest
|
|
# Use a standard python image so you don't have to pre-build anything
|
|
container:
|
|
image: gitea-modal-runner:latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Deploy worker pipeline to Modal
|
|
run: |
|
|
cd workspace/sprint_1_2/CODEBASE/deps/implementation
|
|
modal deploy test_worker.py
|
|
env:
|
|
MODAL_TOKEN_ID: ${{ secrets.MODAL_KEY }}
|
|
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_SECRET }}
|