Skip to content

Commit dd63824

Browse files
committed
fix: sloppy merges #657 & #658 - sorry for the noise
1 parent d0e1262 commit dd63824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docs-build-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR="${CURBRANCH:-html}" html
5050
5151
- name: Push created tag to gh-pages
52-
if: github.ref == 'refs/heads/master'
52+
if: startsWith(github.ref, 'refs/tags/')
5353
run: |
5454
MAJOR_MINOR=${CURBRANCH%.*}
5555
if [[ "${MAJOR_MINOR}" == "" ]]; then
@@ -68,7 +68,7 @@ jobs:
6868
git push
6969
7070
- name: Push "master" docs to gh-pages after a PR is merged
71-
if: github.event.pull_request.merged == true
71+
if: github.ref == 'refs/heads/master/'
7272
run: |
7373
if [[ "${CURBRANCH}" != "master" ]]; then
7474
echo "$CURBRANCH is not the default development branch"

0 commit comments

Comments
 (0)