Runs orchestrator_1.py #168
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: run-orchestrator-1 | |
run-name: Runs orchestrator_1.py | |
on: | |
schedule: | |
- cron: '49 12 * * *' | |
workflow_dispatch: | |
jobs: | |
run-script: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- run: pip install flywheel-sdk==18.0.0 | |
- name: Run Python Script | |
if: github.event.schedule != '49 12 * * 1' | |
run: python orchestrator_1.py | |
env: | |
FW_API_KEY: ${{ secrets.FW_API_KEY }} | |
REDCAP_API_KEY: ${{ secrets.REDCAP_API_KEY }} |