We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
devel
1 parent f450899 commit 05448f4Copy full SHA for 05448f4
.github/workflows/build.yml
@@ -170,5 +170,12 @@ jobs:
170
- name: Install dependencies
171
run: pip install mike mkdocs-material mkdocs-glightbox
172
173
+ - name: Check if we should push to gh-pages
174
+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
175
+ run: |
176
+ echo ${{ github.event_name }}
177
+ echo ${{ github.ref }}
178
+ echo "push_opt=--push" >> $GITHUB_ENV
179
+
180
- name: Build mkdocs
- run: mike --debug deploy devel
181
+ run: mike ${{ env.push_opt }} deploy devel
0 commit comments