Skip to content

Rebuild kevbot.xyz homepage #373

Rebuild kevbot.xyz homepage

Rebuild kevbot.xyz homepage #373

Workflow file for this run

# this runs nightly and pulls changes from my projects google sheet
name: Rebuild kevbot.xyz homepage
on:
workflow_dispatch:
push:
branches:
- main
schedule:
# run every night at 2:42 am PST
- cron: "42 10 * * *"
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: |
python -m venv venv
. venv/bin/activate
python -m pip install -r requirements.txt
# this is the script that does the stuff
python scripts/build-home.py
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Rebuild homepage automatically
commit_options: "--no-verify"
commit_user_name: GitHub Actions
commit_user_email: github-actions[bot]@users.noreply.github.com
commit_author: GitHub Actions <github-actions[bot]@users.noreply.github.com>
file_pattern: content/contents.lr
- uses: gautamkrishnar/keepalive-workflow@v2 # using the workflow with default settings