Fixed branch not in scp command
This commit is contained in:
2
.github/workflows/deploy_staging.yaml
vendored
2
.github/workflows/deploy_staging.yaml
vendored
@@ -50,6 +50,6 @@ jobs:
|
||||
|
||||
ssh -i ~/.ssh/id_ed25519 $USER@$HOST mkdir -p $DIR
|
||||
|
||||
scp -i ~/.ssh/id_ed25519 projectreshoot-${GITHUB_SHA} $USER@$HOST:$DIR
|
||||
scp -i ~/.ssh/id_ed25519 projectreshoot-staging-${GITHUB_SHA} $USER@$HOST:$DIR
|
||||
|
||||
ssh -i ~/.ssh/id_ed25519 $USER@$HOST 'bash -s' < ./deploy/deploy.sh $GITHUB_SHA
|
||||
|
||||
Reference in New Issue
Block a user