Skip to content

Commit 51ae06a

Browse files
committed
Add _push_docs.yml to ci and tempalte ci
1 parent 7a7a0a6 commit 51ae06a

File tree

2 files changed

+12
-0
lines changed
  • .github/workflows
  • template/{% if git_platform=="github.com" %}.github{% endif %}/workflows

2 files changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
permissions:
3333
contents: write
3434

35+
push_docs:
36+
needs: docs
37+
uses: ./.github/workflows/_push_docs.yml
38+
permissions:
39+
contents: write
40+
3541
example:
3642
needs: test
3743
if: github.ref_name == 'main'

template/{% if git_platform=="github.com" %}.github{% endif %}/workflows/ci.yml.jinja

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ jobs:
5454
needs: check
5555
if: needs.check.outputs.branch-pr == ''
5656
uses: ./.github/workflows/_docs.yml
57+
58+
push_docs:
59+
needs: docs
60+
uses: ./.github/workflows/_push_docs.yml
61+
permissions:
62+
contents: write
5763
{% endif %}
5864
dist:
5965
needs: check

0 commit comments

Comments
 (0)