Skip to content

Commit

Permalink
ci: website demos disable StrictHostKeyChecking
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed May 30, 2024
1 parent 09a43d4 commit 2637ae4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/
Expand Down

0 comments on commit 2637ae4

Please sign in to comment.