Skip to content

Commit

Permalink
Test 7
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertClo committed Aug 10, 2024
1 parent d2f42e9 commit 4f6d7b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:

- name: Debug Secret
run: |
echo "EC2_SSH_KEY is set: ${{ secrets.EC2_SSH_KEY != '' }}"
echo "EC2_SSH_KEY is set: ${{ secrets.AWS_INSTANCE_SSH_PRIVATE_KEY != '' }}"
echo "KNOWN_HOSTS is set: ${{ secrets.KNOWN_HOSTS != '' }}"
echo "AWS_INSTANCE_IP is set: ${{ secrets.AWS_INSTANCE_IP != '' }}"
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.EC2_SSH_KEY }}
key: ${{ secrets.AWS_INSTANCE_SSH_PRIVATE_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}

- name: Deploy to EC2
Expand Down

0 comments on commit 4f6d7b4

Please sign in to comment.