-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: website demos disable StrictHostKeyChecking
- Loading branch information
1 parent
09a43d4
commit 2637ae4
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -450,7 +450,9 @@ jobs: | |
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | ||
run: | | ||
# Add SSH key | ||
set -x | ||
mkdir -p /home/runner/.ssh | ||
chmod 600 /home/runner/.ssh/known_hosts | ||
ssh-keyscan dev-websites.cpp.al >> /home/runner/.ssh/known_hosts | ||
echo "${{ secrets.DEV_WEBSITES_SSH_KEY }}" > /home/runner/.ssh/github_actions | ||
chmod 600 /home/runner/.ssh/github_actions | ||
|
@@ -459,7 +461,7 @@ jobs: | |
# Copy files | ||
demo_dir="/var/www/mrdox.com/demos/${{ github.ref_name }}" | ||
ssh [email protected] "rm -rf $demo_dir/boost-url; mkdir -p $demo_dir/boost-url" | ||
ssh -o StrictHostKeyChecking=no [email protected] "rm -rf $demo_dir/boost-url; mkdir -p $demo_dir/boost-url" | ||
chmod 755 -R $(pwd)/demos | ||
scp -o StrictHostKeyChecking=no -r $(pwd)/demos/* [email protected]:$demo_dir/ | ||
|