Skip to content

Commit 5a80dda

Browse files
authored
Update deploy.yml
1 parent d7f4cdf commit 5a80dda

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ jobs:
2626
username: ${{ secrets.EC2_USERNAME }}
2727
key_path: ec2_key.pem
2828
script: |
29-
# Create deploy key on EC2 for private repo access
30-
echo "${{ secrets.DEPLOY_KEY }}" | base64 -d > ~/.ssh/deploy-key
31-
chmod 600 ~/.ssh/deploy-key
32-
eval "$(ssh-agent -s)"
33-
ssh-add ~/.ssh/deploy-key
3429
3530
# Clone repo if not exists, otherwise pull
3631
if [ ! -d "/home/ubuntu/scribble/.git" ]; then

0 commit comments

Comments
 (0)