mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #2450 from overleaf/csh-issue-730-copybara-flag
Make copybara conditional GitOrigin-RevId: 04ec7af1820b9e594af6a1f845fd09d12ea57d61
This commit is contained in:
parent
8d6e72bd8f
commit
2cb158340d
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
KNOWN_HOSTS=/root/.ssh/known_hosts
|
||||
|
||||
if [[ "$BRANCH_NAME" == "master" ]]; then
|
||||
if [[ "$BRANCH_NAME" == "master" && "$COPYBARA" == "run" ]]; then
|
||||
set -e
|
||||
chmod -R 0600 /root/.ssh
|
||||
ssh-keyscan github.com > $KNOWN_HOSTS
|
||||
|
|
Loading…
Reference in a new issue