File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -105,12 +105,10 @@ jobs:
105105 with :
106106 subject-path : documentation/build/attestation/*.jar
107107
108- documentation :
108+ build_documentation :
109109 name : Build Documentation
110110 needs : macOS
111111 runs-on : ubuntu-latest
112- permissions :
113- actions : write
114112 steps :
115113 - name : Check out repository
116114 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
@@ -138,3 +136,16 @@ jobs:
138136 env :
139137 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
140138 run : gh workflow run deploy-docs.yml --ref docs-site
139+
140+ deploy_documentation :
141+ name : Deploy Documentation
142+ needs : build_documentation
143+ if : github.event_name == 'push' && github.repository == 'junit-team/junit-framework' && github.ref == 'refs/heads/main'
144+ runs-on : ubuntu-latest
145+ permissions :
146+ actions : write
147+ steps :
148+ - name : Trigger documentation site deployment
149+ env :
150+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
151+ run : gh workflow run deploy-docs.yml --repo junit-team/junit-framework --ref docs-site
You can’t perform that action at this time.
0 commit comments