Skip to content

Commit f5b29ba

Browse files
committed
fix: deploying tags [skip ci]
1 parent 2c0eef3 commit f5b29ba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88

99
jobs:
1010
build:
11-
if: "!contains(github.event.head_commit.message, '[skip ci]')"
1211
runs-on: ubuntu-latest
1312

1413
steps:
@@ -51,7 +50,7 @@ jobs:
5150
echo "Could not identify release series"
5251
exit 1
5352
fi
54-
git checkout gh-pages
53+
git checkout -b gh-pages origin/gh-pages
5554
git pull
5655
git rm -r ${MAJOR_MINOR}/
5756
# It is fundamental that the directory does not exist at all.
@@ -67,7 +66,7 @@ jobs:
6766
echo "$CURBRANCH is not the default development branch"
6867
exit 1
6968
fi
70-
git checkout gh-pages
69+
git checkout -b gh-pages origin/gh-pages
7170
git pull
7271
git rm -r master/
7372
# It is fundamental that the directory does not exist at all.

0 commit comments

Comments
 (0)