Skip to content

Commit b267cc8

Browse files
committed
doc workflow for dev branch
1 parent f756430 commit b267cc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docs.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ jobs:
4444
make doc
4545
4646
- name: Pull latest gh-pages
47-
if: contains(github.ref, 'main') && github.event_name == 'push'
47+
if: github.event_name == 'push'
4848
run: |
4949
cd ..
5050
git clone https://github.com/${{ github.repository }}.git --branch gh-pages --single-branch gh-pages
5151
5252
- name: Copy new docs into gh-pages
53-
if: contains(github.ref, 'main') && github.event_name == 'push'
53+
if: github.event_name == 'push'
5454
run: |
5555
branch_name=${GITHUB_REF##*/}
5656
cd ../gh-pages
@@ -59,7 +59,7 @@ jobs:
5959
6060
6161
- name: Push to gh-pages
62-
if: contains(github.ref, 'main') && github.event_name == 'push'
62+
if: github.event_name == 'push'
6363
run: |
6464
last_commit=$(git log --pretty=format:"%an: %s")
6565
cd ../gh-pages

0 commit comments

Comments
 (0)