Skip to content

Commit

Permalink
scp files individually.
Browse files Browse the repository at this point in the history
  • Loading branch information
ohinds committed Sep 7, 2023
1 parent 20040ee commit 36c935e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/guide-notebooks-ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ jobs:
echo ${AWS_GH_RUNNER_KEY} > ${HOME}/.ssh/gh_runner
chmod 600 ${HOME}/.ssh/gh_runner
echo ${GH_TOKEN} > gh_token
scp -o StrictHostKeyChecking=accept-new -i ${HOME}/.ssh/gh_runner provision_runner.sh gh_token ubuntu@${EC2_PUBLIC_DNS}:
scp -o StrictHostKeyChecking=accept-new -i ${HOME}/.ssh/gh_runner gh_token ubuntu@${EC2_PUBLIC_DNS}:gh_token
scp -i ${HOME}/.ssh/gh_runner provision_runner.sh ubuntu@${EC2_PUBLIC_DNS}:provision_runner.sh
ssh -i ${HOME}/.ssh/gh_runner bash provision_runner.sh
Expand Down

0 comments on commit 36c935e

Please sign in to comment.