docs: push&merge workflow
This commit is contained in:
2
.github/workflows/build-toc.yaml
vendored
2
.github/workflows/build-toc.yaml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event.pull_request.merged == true && github.base_ref == 'main')
|
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event.pull_request.merged == true && github.base_ref == 'main')
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Run TOC generation script
|
- name: Run TOC generation script
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user