Monitor page over time #1269
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: Monitor page over time | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0/8 * * *" | |
jobs: | |
page2pdf: | |
runs-on: ubuntu-latest | |
name: page2pdf | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- run: | | |
echo $PWD | |
- name: Screenshot Website | |
uses: swinton/[email protected] | |
with: | |
source: https://canada.ca/en/government/system/digital-government/digital-government-innovations/enabling-interoperability/gc-enterprise-data-reference-standards | |
destination: screenshot.png | |
full-page: true | |
- run: | | |
curl -o refdataweb.txt https://www.canada.ca/en/government/system/digital-government/digital-government-innovations/enabling-interoperability/gc-enterprise-data-reference-standards.html | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -m "generated" | |
git push -f origin master |