From bda62c761a1ecc6b072de09cbdd74ea20da8617e Mon Sep 17 00:00:00 2001 From: thecodrr Date: Thu, 30 Dec 2021 10:24:59 +0500 Subject: [PATCH] ci: move build files to public_html before deploy --- .github/workflows/importer-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/importer-deploy.yml b/.github/workflows/importer-deploy.yml index 8cfef850b..122e4c9fc 100644 --- a/.github/workflows/importer-deploy.yml +++ b/.github/workflows/importer-deploy.yml @@ -29,10 +29,11 @@ jobs: - run: | npm i npx turbo run build + mv ./apps/importer/build/ ./apps/importer/public_html/ - uses: blbecker/rsync-deploy@v1.0 with: - source_dir: ./apps/importer/build/* + source_dir: ./apps/importer/public_html/ destination_path: ${{ secrets.REMOTE_IMPORTER_PATH }} destination_host: ${{ secrets.REMOTE_HOST }} deployment_user: ${{ secrets.REMOTE_USER }}