Skip to content

regenerate

regenerate #9399

Workflow file for this run

name: regenerate
on:
schedule:
- cron: "0 */4 * * *"
jobs:
regenerate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
- uses: actions/setup-node@v3
with:
node-version: 20
- run: make deps
- run: make build
env:
GHD_GH_USERNAME: ${{ secrets.GHD_GH_USERNAME }}
GHD_GH_PASSWORD: ${{ secrets.GHD_GH_PASSWORD }}
GHD_GH_TOTP_SECRET: ${{ secrets.GHD_GH_TOTP_SECRET }}
- run: |
if [[ $(git status --porcelain --untracked-files=no) ]]; then
git fetch --unshallow --quiet --tags
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git commit -am "automated regeneration"
make patch
else
echo "Nothing to commit"
fi