Skip to content

Generate template

Generate template #245

name: Generate template
on:
workflow_run:
workflows: ["Test"]
types: [completed]
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success'
steps:
- uses: actions/checkout@v6.0.2
- run: .github/workflows/generate-template.sh
- uses: s0/git-publish-subdir-action@v2.6.0
env:
REPO: self
BRANCH: template
FOLDER: .template
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}