Skip to content

Commit be1d8aa

Browse files
✨ Create workflow file for doc generation
1 parent 4f7fb44 commit be1d8aa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/docs.yml

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

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

110110
steps:
111111
- name: Checkout
112-
uses: actions/checkout@v4
112+
uses: actions/checkout@v4
113113

114114
- name: Setup Pages
115115
uses: actions/configure-pages@v4
@@ -156,7 +156,7 @@ jobs:
156156
name: Deploy Documentation
157157
runs-on: ubuntu-latest
158158
needs: build-docs
159-
if: github.ref == 'refs/heads/develop'
159+
if: github.ref == 'refs/heads/master'
160160

161161
environment:
162162
name: github-pages

0 commit comments

Comments
 (0)