mirror of
https://github.com/LouisShark/chatgpt_system_prompt.git
synced 2025-07-05 06:10:28 -04:00
docs: push&merge workflow
This commit is contained in:
parent
1f33ad938c
commit
85aeca36c0
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build-toc.yaml
vendored
2
.github/workflows/build-toc.yaml
vendored
|
@ -12,7 +12,7 @@ on:
|
|||
jobs:
|
||||
run-script:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.merged == true
|
||||
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event.pull_request.merged == true && github.base_ref == 'main')
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue