Skip to content

Update Profile README #591

Update Profile README

Update Profile README #591

name: Update Profile README
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
schedule:
# Rebuild every day at 16:30 PM UTC
- cron: "30 16 * * *"
# Minimal permissions at workflow level
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
# Only the build job needs write access
permissions:
contents: write
steps:
- name: Clone repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.head_ref }}
persist-credentials: true # Required for git-auto-commit to push
- name: Setup Deno environment
uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3
with:
deno-version: v2.x
- name: Build site
run: deno task build
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5
with:
commit_message: Apply changes during gh actions build
status_options: '--untracked-files=no'