Skip to content

Commit

Permalink
Azure: Install known_hosts
Browse files Browse the repository at this point in the history
Azure doesn't seem to do it automatically, even though it has an
InstallSSHKey task.
  • Loading branch information
Calinou committed Nov 18, 2018
1 parent 3b09992 commit 4494ac7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/azure-pipelines/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ cp "resources/version.txt" "$SYSTEM_ARTIFACTSDIRECTORY/godot/templates/version.t
)

# Deploy to server using SCP
mkdir -p "$HOME/.ssh"
cp "resources/known_hosts" "$HOME/.ssh/"
scp -r "$SYSTEM_ARTIFACTSDIRECTORY/godot"/* hugo@hugo.pro:/var/www/archive.hugo.pro/builds/godot/

0 comments on commit 4494ac7

Please # to comment.