Pelican site CI #1562
This file contains hidden or 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: Pelican site CI | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # Once per day at midnight | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: nelsonjchen/[email protected] | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| GH_PAGES_CNAME: ${{secrets.GH_PAGES_CNAME || 'none'}} | |
| GOOGLE_ANALYTICS_CODE: ${{secrets.GOOGLE_ANALYTICS_CODE || '0000'}} | |
| SITEURL: ${{secrets.SITEURL}} |