Skip to content

Commit d9fe182

Browse files
committed
Fix deploy.yml to enable EC2 deployment
1 parent a409264 commit d9fe182

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@v2
1515

16+
- name: Create SSH Key file
17+
run: |
18+
echo "${{ secrets.EC2_KEY }}" > key.pem
19+
chmod 400 key.pem
20+
1621
- name: SSH into EC2 and deploy with Docker Compose
1722
uses: appleboy/ssh-action@master
1823
with:

clean.zip

2.41 KB
Binary file not shown.

0 commit comments

Comments
 (0)