Skip to content

Commit ac72ffb

Browse files
authored
Update config.yml
1 parent f8c83f0 commit ac72ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.tugboat/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ services:
3131
# Run any commands needed to build the site.
3232
build:
3333
# Switch the branch in index.html to match the PR branch
34-
- sed -i "s/const branch = 'main';/const branch = '$TUGBOAT_GITHUB_HEAD';/g" open-requirements-library/index.html
34+
- if [ -n "$TUGBOAT_GITHUB_HEAD" ]; then sed -i "s/const branch = 'main';/const branch = '$TUGBOAT_GITHUB_HEAD';/g" open-requirements-library/index.html; fi

0 commit comments

Comments
 (0)