Archive wait times PDF #17679
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: Archive wait times PDF | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 2 0,11,12,13,14,15,16,17,18,19,20,21,23 * * * | |
jobs: | |
download-latest-file: | |
name: Archive wait times PDF | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Download latest file | |
run: cd archive && wget --output-document=`date +%Y-%m-%d_%H:%M:%S`.pdf https://hhinternet.blob.core.windows.net/wait-times/testing-wait-times.pdf | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v5 | |
with: | |
author_name: Vivek Ranjan | |
author_email: [email protected] | |
message: "Latest update" | |
add: "*.pdf" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |