Skip to content

Commit 2daf292

Browse files
authored
Update update_docs
1 parent dc68fae commit 2daf292

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci_scripts/update_docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ mv docs-README docs/README
2828

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

0 commit comments

Comments
 (0)