We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4e7f5b commit 47dfdc8Copy full SHA for 47dfdc8
.github/workflows/cd.yml
@@ -44,9 +44,7 @@ jobs:
44
- name: Setup SSH
45
run: |
46
mkdir -p ~/.ssh
47
- cat << 'EOF' > ~/.ssh/ec2.pem
48
- ${{ secrets.EC2_SSH_KEY }}
49
- EOF
+ printf "%s\n" "${{ secrets.EC2_SSH_KEY }}" > ~/.ssh/ec2.pem
50
chmod 600 ~/.ssh/ec2.pem
51
ssh-keyscan -H ${{ secrets.EC2_HOST }} >> ~/.ssh/known_hosts
52
0 commit comments