We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a52d6fa commit c4b38e5Copy full SHA for c4b38e5
.github/workflows/gogo-betting-onpre-stage-cd.yml
@@ -41,14 +41,9 @@ jobs:
41
run: |
42
sudo apt-get update && sudo apt-get install -y sshpass openssh-client
43
44
- - name: Create SSH key for Bastion and Target
45
- run: |
46
- echo "${{ secrets.STAGE_BASTION_SSH_KEY }}" > $HOME/bastion_key.pem
47
- chmod 600 $HOME/bastion_key.pem
48
-
49
- name: SSH Command to Deploy using Bastion and Target Instance
50
51
- ssh -i "$HOME/bastion_key.pem" -o StrictHostKeyChecking=no ubuntu@${{ secrets.STAGE_ON_PREMISE_HOST }} << 'EOF'
+ sshpass -p "${{ secrets.STAGE_ON_PREMISE_PASSWORD }}" ssh -o StrictHostKeyChecking=no ubuntu@${{ secrets.STAGE_ON_PREMISE_HOST }} << 'EOF'
52
mkdir -p /home/ubuntu/gogo-betting
53
cd /home/ubuntu/gogo-betting
54
0 commit comments