Commit b267cc8 1 parent f756430 commit b267cc8 Copy full SHA for b267cc8
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ jobs:
44
44
make doc
45
45
46
46
- name : Pull latest gh-pages
47
- if : contains(github.ref, 'main') && github.event_name == 'push'
47
+ if : github.event_name == 'push'
48
48
run : |
49
49
cd ..
50
50
git clone https://github.com/${{ github.repository }}.git --branch gh-pages --single-branch gh-pages
51
51
52
52
- name : Copy new docs into gh-pages
53
- if : contains(github.ref, 'main') && github.event_name == 'push'
53
+ if : github.event_name == 'push'
54
54
run : |
55
55
branch_name=${GITHUB_REF##*/}
56
56
cd ../gh-pages
59
59
60
60
61
61
- name : Push to gh-pages
62
- if : contains(github.ref, 'main') && github.event_name == 'push'
62
+ if : github.event_name == 'push'
63
63
run : |
64
64
last_commit=$(git log --pretty=format:"%an: %s")
65
65
cd ../gh-pages
You can’t perform that action at this time.
0 commit comments