ci: move build files to public_html before deploy

This commit is contained in:
thecodrr
2021-12-30 10:24:59 +05:00
parent 412b40d64f
commit bda62c761a

View File

@@ -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 }}