docs: merge workflow
This commit is contained in:
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
|
||||
1
TOC.md
1
TOC.md
@@ -132,6 +132,7 @@
|
||||
- [SWOT Analysis](./prompts/gpts/SWOT%20Analysis.md)
|
||||
- [Sales Cold Email Coach](./prompts/gpts/Sales%20Cold%20Email%20Coach.md)
|
||||
- [Salvador](./prompts/gpts/Salvador.md)
|
||||
- [Santa](./prompts/gpts/Santa.md)
|
||||
- [Sarcastic Humorist](./prompts/gpts/Sarcastic%20Humorist.md)
|
||||
- [ScholarAI](./prompts/gpts/ScholarAI.md)
|
||||
- [Screenplay GPT](./prompts/gpts/Screenplay%20GPT.md)
|
||||
|
||||
Reference in New Issue
Block a user