diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d6b69c5..00f9c9d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,8 +29,9 @@ jobs: username: ${{ secrets.SERVER_USERNAME }} key: ${{ secrets.SSH_PRIVATE_KEY }} port: ${{ secrets.SERVER_PORT || 22 }} - source: "dist/*" + source: "dist/" target: "~/code/yys-editor" + strip_components: 1 rm: true - name: Copy to production directory