Build it up! #692
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: Build it up! | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
concurrency: ci-${{ github.ref }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Fetch JSON | |
run: | | |
deno task fetch | |
- name: Render templates | |
run: | | |
deno task render | |
- name: Commit | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: 'docs' | |
default_author: github_actions | |
message: 'Update JSON and pages' |