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