diff --git a/.github/workflows/test-deployment.yml b/.github/workflows/test-deployment.yml index 65d4077..93c742b 100644 --- a/.github/workflows/test-deployment.yml +++ b/.github/workflows/test-deployment.yml @@ -36,8 +36,6 @@ jobs: uses: actions/download-artifact@v4 with: name: production-build - - name: Display artifact files - run: ls webface_test - name: Prepare folders on production server uses: appleboy/ssh-action@v1.2.0 with: @@ -53,5 +51,5 @@ jobs: username: root key: ${{ secrets.SERVER_SSH_KEY }} port: 22 - source: webface_test/* + source: webface/* target: /var/www/ diff --git a/scripts/copy2site.sh b/scripts/copy2site.sh index 0328004..5eb6506 100755 --- a/scripts/copy2site.sh +++ b/scripts/copy2site.sh @@ -1,3 +1,3 @@ #!/bin/sh -rm -r /var/www/webface_test +rm -r /var/www/webface diff --git a/vite.config.ts b/vite.config.ts index 9f19296..c06fb19 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -69,7 +69,7 @@ export default defineConfig((args) => { root: "./src/sites/main", publicDir: "./public", build: { - outDir: '../../../dist/webface_test', + outDir: '../../../dist/webface', emptyOutDir: true, }, plugins: [preact(), svgr(svgrOpts)],