18 lines
476 B
YAML
18 lines
476 B
YAML
name: Test Gitea Secrets
|
|
on: [push]
|
|
|
|
jobs:
|
|
print-secret:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Test modal worker pipeline
|
|
# All shell commands must be in the 'run' block
|
|
run: |
|
|
cd deps/implementation/
|
|
modal deploy test_worker.py
|
|
env:
|
|
MODAL_TOKEN_ID: ${{ secrets.MODAL_TOKEN_ID }}
|
|
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_TOKEN_SECRET }} |