Skip to content

Build README

Build README #22776

Workflow file for this run

name: Build README
on:
push:
branches:
- 'source'
workflow_dispatch:
schedule:
- cron: '11 */2 * * *'
jobs:
test:
runs-on: ubuntu-24.04
steps:
- name: Check out repository code
uses: actions/checkout@v5
- name: Build README
run: ./populate.sh
env:
TIME_API_URL: ${{ secrets.TIME_API_URL }}
TIME_API_KEY: ${{ secrets.TIME_API_KEY }}
- name: Push to source
run: |
git config --global user.name "github-actions"
git config --global user.email "actions@github.com"
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
git fetch origin source || true
git add -A
git commit -m "Build #$GITHUB_RUN_ID" && git push || true