- name: Run backup scripts against canary workspace (scheduled runs only)
  if: github.event_name == 'schedule'
  working-directory: {{ working_dir }}
  run: |
    export aoai_api_key=${{ '{{' }}secrets.AOAI_GPT_4V_KEY }}
    export aoai_api_endpoint=${{ '{{' }} secrets.AOAI_GPT_4V_ENDPOINT }}
    export test_workspace_sub_id=${{ '{{' }} secrets.TEST_WORKSPACE_SUB_ID }}
    export test_workspace_rg=${{ '{{' }} secrets.TEST_WORKSPACE_RG }}
    export test_workspace_name=${{ '{{' }} secrets.TEST_WORKSPACE_NAME_CANARY }}
    bash bash_script_pytest.sh
- name: Run backup scripts against production workspace
  if: github.event_name != 'schedule'
  working-directory: {{ working_dir }}
  run: |
    export aoai_api_key=${{ '{{' }}secrets.AOAI_GPT_4V_KEY }}
    export aoai_api_endpoint=${{ '{{' }} secrets.AOAI_GPT_4V_ENDPOINT }}
    export test_workspace_sub_id=${{ '{{' }} secrets.TEST_WORKSPACE_SUB_ID }}
    export test_workspace_rg=${{ '{{' }} secrets.TEST_WORKSPACE_RG }}
    export test_workspace_name=${{ '{{' }} secrets.TEST_WORKSPACE_NAME_PROD }}
    bash bash_script_pytest.sh