aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/deploy.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index c00715c..896a2e0 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -51,8 +51,9 @@ jobs:
username: ${{ secrets.VPS_USER }}
key: ${{ secrets.VPS_SSH_KEY }}
port: ${{ secrets.VPS_PORT }}
- source: "dist/*"
+ source: "dist"
target: ${{ secrets.VPS_DESTINATION }}
+ strip_components: 1
- name: Restart Nginx (Service)
uses: appleboy/ssh-action@master