Skip to content

Commit 12c4609

Browse files
authored
Update update_docs
1 parent 2daf292 commit 12c4609

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.ci_scripts/update_docs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ mv docs-README docs/README
2727
# git diff
2828

2929
# Only commit the docs for commits on master.
30-
# GITHUB_HEAD_REF is empty on forks
31-
if [[ $GH_REF == ref/heads/master ]] && [[ "$GH_TOKEN" != "" ]]; then
30+
if [[ $GH_REF == ref/heads/master ]] && [[ $GH_TOKEN != "" ]]; then
3231
git add -A :/
3332
git commit -m "Re-ran make.py. [ci skip]" || true
3433
git remote add pushable https://${GH_TOKEN}@github.com/conda-forge/conda-forge.github.io.git/ > /dev/null

0 commit comments

Comments
 (0)