Skip to content

Commit

Permalink
test-deploy 39
Browse files Browse the repository at this point in the history
  • Loading branch information
yarobash committed Nov 21, 2024
1 parent ac5c12d commit 822e4ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand All @@ -53,5 +51,5 @@ jobs:
username: root
key: ${{ secrets.SERVER_SSH_KEY }}
port: 22
source: webface_test/*
source: webface/*
target: /var/www/
2 changes: 1 addition & 1 deletion scripts/copy2site.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

rm -r /var/www/webface_test
rm -r /var/www/webface
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)],
Expand Down

0 comments on commit 822e4ba

Please sign in to comment.