mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 20:42:39 +00:00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
36 lines
823 B
YAML
36 lines
823 B
YAML
---
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup git config
|
|
run: |
|
|
git config --global user.name "${{ github.actor }}"
|
|
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
|
|
- name: Build
|
|
run: |
|
|
echo "Building cheatsheets"
|
|
bash .github/run.sh
|
|
echo "Done"
|
|
- name: Commit and push changes
|
|
continue-on-error: true
|
|
run: |
|
|
git add .
|
|
git commit -m "Update cheatsheets"
|
|
git push
|