diff --git a/.github/workflows/purefinance_deployment.yaml b/.github/workflows/purefinance_deployment.yaml index b495101..9f96e3e 100644 --- a/.github/workflows/purefinance_deployment.yaml +++ b/.github/workflows/purefinance_deployment.yaml @@ -27,6 +27,12 @@ jobs: cd site BASE_PATH="/pure.finance" npm run build + - name: Content Files + run: | + mkdir -p pure.finance + rsync -av --exclude='index.html' purefinance/site/out/ pure.finance/ + cp purefinance/site/out/index.html . + - name: Copy files to Hostinger uses: appleboy/scp-action@master with: @@ -34,6 +40,6 @@ jobs: username: ${{ secrets.HOSTINGER_USER }} port: ${{ secrets.HOSTINGER_PORT }} key: ${{ secrets.HOSTINGER_SSH_KEY }} - source: site/out/* - target: public_html/tools + source: "pure.finance/* , index.html" + target: public_html/purefinance rm: true