mirror of
https://github.com/LouisShark/chatgpt_system_prompt.git
synced 2025-07-07 07:10:39 -04:00
docs: merge workflow
This commit is contained in:
parent
8788eba155
commit
96895ffe79
2 changed files with 20 additions and 0 deletions
19
.github/workflows/build-toc.yaml
vendored
Normal file
19
.github/workflows/build-toc.yaml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: Generate TOC on PR Merge
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
run-script:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.merged == true
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Run TOC generation script
|
||||
run: |
|
||||
chmod +x generate_toc_for_readme.sh
|
||||
./generate_toc_for_readme.sh
|
Loading…
Add table
Add a link
Reference in a new issue