From 36c935e50ccdb2d636251b5dc083ecb49095de49 Mon Sep 17 00:00:00 2001 From: Oliver Hinds Date: Thu, 7 Sep 2023 15:34:38 -0700 Subject: [PATCH] scp files individually. --- .github/workflows/guide-notebooks-ec2.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/guide-notebooks-ec2.yml b/.github/workflows/guide-notebooks-ec2.yml index 6b96cefc..002316fd 100644 --- a/.github/workflows/guide-notebooks-ec2.yml +++ b/.github/workflows/guide-notebooks-ec2.yml @@ -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