Daily content regeneration #1572
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: Daily content regeneration | |
on: | |
schedule: | |
- cron: '3 3 * * *' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.23' | |
- run: make generate | |
- uses: EndBug/add-and-commit@v4 | |
with: | |
add: 'assets/ site/content/' | |
author_name: "github-actions[bot]" | |
author_email: "[email protected]" | |
message: 'assets,site/content: daily assets regeneration' | |
env: | |
# This is necessary in order to push a commit to the repo | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |