Skip to content

Commit

Permalink
docs: merge workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisShark committed Dec 10, 2023
1 parent 8788eba commit 96895ff
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-toc.yaml
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 96895ff

Please sign in to comment.