Kick off build #149
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: Kick off build | |
on: | |
schedule: | |
# Midnight daily | |
- cron: "10 5 * * *" | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Trigger build | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
id: checkout | |
with: | |
ref: dailybuild | |
- name: Commit empty to trigger build | |
env: | |
BRANCH: dailybuild | |
run: | | |
date=$(date +"%Y.%m.%d") | |
git config --global user.name bkreider | |
git config --global user.email "bkreider@users.noreply.github.com" | |
git commit -m "Build: $date" --allow-empty | |
git push origin "$BRANCH" |