Skip to content

Commit 1619cfc

Browse files
committed
[-] fix GHA workflow to publish devel docs
1 parent 9843195 commit 1619cfc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,8 @@ jobs:
173173
- name: Check if we should push to gh-pages
174174
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
175175
run: |
176-
echo ${{ github.event_name }}
177-
echo ${{ github.ref }}
176+
git fetch origin gh-pages --depth=1
178177
echo "push_opt=--push" >> $GITHUB_ENV
179178
180179
- name: Build mkdocs
181180
run: mike deploy ${{ env.push_opt }} devel
182-

0 commit comments

Comments
 (0)