From 7258d78febda58411f28d0ecc4257883e8efcb0b Mon Sep 17 00:00:00 2001 From: dhidalgX Date: Tue, 16 Apr 2024 12:41:16 -0600 Subject: [PATCH] Strip components --- .github/workflows/purefinance_deployment.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/purefinance_deployment.yaml b/.github/workflows/purefinance_deployment.yaml index 3c42bf8..3f29f26 100644 --- a/.github/workflows/purefinance_deployment.yaml +++ b/.github/workflows/purefinance_deployment.yaml @@ -27,11 +27,6 @@ jobs: cd site BASE_PATH="/pure.finance" npm run build - - name: Content Files - run: | - mkdir -p pure.finance - rsync -av purefinance/site/out/ pure.finance/ - - name: Copy files to Hostinger uses: appleboy/scp-action@master with: @@ -39,6 +34,7 @@ jobs: username: ${{ secrets.HOSTINGER_USER }} port: ${{ secrets.HOSTINGER_PORT }} key: ${{ secrets.HOSTINGER_SSH_KEY }} - source: pure.finance/* - target: public_html/purefinance + source: purefinance/site/out/* + target: public_html/pure.finance rm: true + strip_components: 3