ccodwg-update #4816
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: ccodwg-update | |
on: | |
workflow_dispatch | |
jobs: | |
run-update-nightly: | |
runs-on: ubuntu-latest | |
name: Update CovidTimelineCanada | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run commands in Docker container | |
uses: ./actions/ccodwg-update-run | |
with: | |
command_string: "export GITHUB_PAT=$GH_PAT; \ | |
scripts/copy-service-key.sh; \ | |
scripts/update-data.sh; \ | |
echo Current datetime is: $(date); \ | |
echo Waiting 10 minutes until: $(date -d '+10 minutes'); \ | |
sleep 10m; \ | |
scripts/sync-gdrive.sh" | |
service_key: ${{ secrets.service_key }} | |
gh_pat: ${{ secrets.gh_pat }} | |
docker_token: ${{ secrets.gh_pat_docker }} |