action yml changed #276
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
on: push | |
jobs: | |
website-health-check: | |
runs-on: ubuntu-latest | |
name: Website health check | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Run Websentry Action | |
uses: theritikchoure/websentry@name # Update to the actual name of the action | |
with: | |
website-url: 'google.com,youtube.com' # Set the website URL you want to check | |
max-retries: 10 # Remove the single quotes | |
retry-interval: 5s # Remove the single quotes | |
request-timeout: 10s # Remove the single quotes | |
- name: Deploy Documentation | |
run: | | |
touch report.pdf | |
git config --global user.name "GitHub Actions" | |
git config --global user.email "[email protected]" | |
git add report.pdf | |
git commit -m "Auto-generate documentation" | |
git push origin HEAD:main | |
env: | |
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} |