Clarify description of --latest flag in run.sh (#13) #6
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: CI | |
on: | |
push: | |
branches: | |
- master | |
# For scheduled deployment with Cron Jobs. | |
## Examples of cron schedule expressions: | |
### '0 * * * *': hourly | |
### '0 0 * * *': daily | |
### '0 0 1 * *': monthly | |
# schedule: | |
# - cron: '0 0 * * *' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: pip install requests | |
- name: Generate report | |
run: bash ./run.sh | |
- name: Deploy GitHub pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./reposense-report | |
user_name: 'github-actions[bot]' | |
user_email: 'github-actions[bot]@users.noreply.github.com' | |
commit_message: Rebuild pages at |