Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ThistleFIN authored Nov 9, 2024
1 parent a129ad1 commit 4e51287
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,5 @@ jobs:
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: "/srv/53.asteriski.fi/"
EXCLUDE: "/node_modules/, /.git/"

# Restart the PM2 process
- name: Restart PM2 process
uses: appleboy/ssh-action@v0.1.5
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
SCRIPT_AFTER: |
pm2 restart sveltekit-app

0 comments on commit 4e51287

Please sign in to comment.