Run face tracking #572
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 face tracking | |
on: | |
schedule: | |
# every 6 hours | |
- cron: '0 */6 * * *' | |
push: | |
tags: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
package: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.9"] | |
permissions: write-all | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
pip install -e . | |
- name: Run face tracking | |
env: | |
DBHUB_API_KEY: ${{ secrets.DBHUB_API_KEY }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
CODE_OCEAN_API_TOKEN: ${{ secrets.CODE_OCEAN_API_TOKEN }} | |
CODE_OCEAN_DOMAIN: ${{ secrets.CODE_OCEAN_DOMAIN }} | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
REDIS_DEFAULT_USER_PASSWORD: ${{ secrets.REDIS_DEFAULT_USER_PASSWORD }} | |
run: | | |
run_queue --capsule_or_pipeline_id a561aa4c-2066-4ff2-a916-0db86b918cdf --process_name dlc_face |