Skip to content

Commit b4b3441

Browse files
ci: Restructure docs deployment
1 parent e03d58b commit b4b3441

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/workflows/pre-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,9 @@ jobs:
7878
prerelease: true
7979
repo_token: ${{ secrets.GITHUB_TOKEN }}
8080
title: Snapshot Build v${{ env.RELEASE_VERSION }}
81+
82+
docs-deploy:
83+
name: Call Deployment
84+
needs: qa-successful-main
85+
if: github.ref == 'refs/heads/main'
86+
uses: ./.github/workflows/docs-deploy.yml

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,9 @@ jobs:
7272
prerelease: false
7373
repo_token: ${{ secrets.GITHUB_TOKEN }}
7474
title: v${{ env.RELEASE_VERSION }}
75+
76+
docs-deploy:
77+
name: Call Deployment
78+
needs: qa-successful-tag
79+
if: github.ref == 'refs/heads/main'
80+
uses: ./.github/workflows/docs-deploy.yml

.github/workflows/test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,3 @@ jobs:
8080
- name: Failure
8181
if: ${{ contains(needs.*.result, 'failure') }}
8282
run: exit 1
83-
84-
docs-deploy:
85-
name: Call Deployment
86-
needs: qa-successful
87-
if: github.ref == 'refs/heads/main'
88-
uses: ./.github/workflows/docs-deploy.yml

0 commit comments

Comments
 (0)