Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

update

update #5

name: update
on:
push:
branches:
- main
schedule:
- cron: '0 11 * * *'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: 🍽️ Get working copy
uses: actions/checkout@main
with:
fetch-depth: 1
- name: 🍳 Shake & bake README
run:
make gen-docs
- name: 🚀 Deploy
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add .
git commit -am "Update dynamic content"
git push --all -f https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git