Skip to content

Commit 862f7e6

Browse files
authored
Fix bash syntax
1 parent 14df04c commit 862f7e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
- name: Push "master" docs to gh-pages after a push to master (typically, a PR merge).
9595
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
9696
run: |
97-
if [[ "${CURBRANCH}" != "master" -a "${CURBRANCH}" != "main" ]]; then
97+
if [[ "${CURBRANCH}" != "master" && "${CURBRANCH}" != "main" ]]; then
9898
echo "$CURBRANCH is not the default development branch"
9999
exit 1
100100
fi

0 commit comments

Comments
 (0)