Skip to content

Commit 7d75f45

Browse files
✨ Create workflow file for doc generation
1 parent 1a89a2f commit 7d75f45

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: Documentation
22

33
on:
44
push:
5-
branches: [ main, develop ]
5+
branches: [ develop, develop ]
66
paths:
77
- 'docs/**'
88
- 'README.md'
99
- '*.md'
1010
- '.github/workflows/docs.yml'
1111
pull_request:
12-
branches: [ main ]
12+
branches: [ develop ]
1313
paths:
1414
- 'docs/**'
1515
- 'README.md'
@@ -105,7 +105,7 @@ jobs:
105105
name: Build Documentation Site
106106
runs-on: ubuntu-latest
107107
needs: [lint-docs, validate-structure]
108-
if: github.ref == 'refs/heads/main'
108+
if: github.ref == 'refs/heads/develop'
109109

110110
steps:
111111
- name: Checkout
@@ -156,7 +156,7 @@ jobs:
156156
name: Deploy Documentation
157157
runs-on: ubuntu-latest
158158
needs: build-docs
159-
if: github.ref == 'refs/heads/main'
159+
if: github.ref == 'refs/heads/develop'
160160

161161
environment:
162162
name: github-pages

0 commit comments

Comments
 (0)