From e323e3a8df15106ee53f716160ceb7ee3d05d384 Mon Sep 17 00:00:00 2001 From: Todd Cooper Date: Wed, 13 Nov 2024 15:44:58 -0500 Subject: [PATCH] Update action.yml --- action.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/action.yml b/action.yml index 784f0fd..47ebc49 100644 --- a/action.yml +++ b/action.yml @@ -14,22 +14,4 @@ jobs: - name: Install dependencies run: npm install - - name: Deploy to AWS EC2 - uses: tcooperma/aws-github@main - with: - host: ${{ secrets.REMOTE_HOST }} - username: ${{ secrets.REMOTE_USER }} - key: ${{ secrets.SSH_PRIVATE_KEY }} - source: "./" # This now correctly points to the current directory - target: "/var/www/aws-github" - - - name: Restart PM2 application - uses: tcooperma/aws-github@main - with: - host: ${{ secrets.REMOTE_HOST }} - username: ${{ secrets.REMOTE_USER }} - key: ${{ secrets.SSH_PRIVATE_KEY }} - script: | - cd /var/www/yaws-github - pm2 reload all # This command restarts your application