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.
1 parent d0e1262 commit dd63824Copy full SHA for dd63824
.github/workflows/docs-build-update.yml
@@ -49,7 +49,7 @@ jobs:
49
make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR="${CURBRANCH:-html}" html
50
51
- name: Push created tag to gh-pages
52
- if: github.ref == 'refs/heads/master'
+ if: startsWith(github.ref, 'refs/tags/')
53
run: |
54
MAJOR_MINOR=${CURBRANCH%.*}
55
if [[ "${MAJOR_MINOR}" == "" ]]; then
@@ -68,7 +68,7 @@ jobs:
68
git push
69
70
- name: Push "master" docs to gh-pages after a PR is merged
71
- if: github.event.pull_request.merged == true
+ if: github.ref == 'refs/heads/master/'
72
73
if [[ "${CURBRANCH}" != "master" ]]; then
74
echo "$CURBRANCH is not the default development branch"
0 commit comments