Skip to content

Commit 446ab35

Browse files
authored
Docs workflow - Run check on every branch (#3741)
* Update deployment workflow to trigger on all branches with conditional deployment for the release branch * Changed branch to master
1 parent 12866fa commit 446ab35

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deployDocs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy Documentation
33
on:
44
push:
55
branches:
6-
- release
6+
- master
77

88
jobs:
99
build-and-deploy:
@@ -28,6 +28,7 @@ jobs:
2828
run: yarn docs:build
2929

3030
- name: Deploy documentation
31+
if: github.ref == 'refs/heads/release'
3132
env:
3233
GIT_USER: github-actions[bot]
3334
GIT_PASS: ${{ secrets.GITHUB_TOKEN }}
@@ -38,3 +39,8 @@ jobs:
3839
cd docuilib
3940
yarn install
4041
yarn deploy
42+
43+
- name: Deploy disclaimer
44+
if: github.ref != 'refs/heads/release'
45+
run: |
46+
echo "Deploying will only happen on release branch"

0 commit comments

Comments
 (0)