aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/deploy.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/deploy.yml')
-rw-r--r--.github/workflows/deploy.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 8805e46..d0d2ad2 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -42,7 +42,7 @@ jobs:
source: "dist/*"
target: ${{ secrets.VPS_DESTINATION }}
- - name: Restart Nginx (Docker)
+ - name: Restart Nginx (Service)
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.VPS_HOST }}
@@ -50,4 +50,4 @@ jobs:
key: ${{ secrets.VPS_SSH_KEY }}
port: ${{ secrets.VPS_PORT }}
script: |
- docker restart nginx
+ sudo systemctl restart nginx