Skip to content

Commit 0a77cd9

Browse files
committed
add git pull to fix docs release bug
1 parent 8583728 commit 0a77cd9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci-cd.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,8 @@ jobs:
196196
run: poetry run twine upload --skip-existing --verbose 'dist/*'
197197

198198
- name: Upload new docs
199-
run: ./bin/task docs:deploy
199+
# We run a git pull first to ensure the runner has the latest pages
200+
# branch. It did fail because of it in the past.
201+
run: |
202+
git pull origin gh-pages
203+
./bin/task docs:deploy

0 commit comments

Comments
 (0)