From 0fb0877a9218996f080b7b2b99bda62b84163959 Mon Sep 17 00:00:00 2001 From: Ben Mosley Date: Wed, 7 Jan 2026 20:25:21 -0600 Subject: [PATCH] hooking up jody with the good shit --- .gitea/workflows/deploy.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index e3098b1..eeebb24 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -11,13 +11,15 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Install and Build - run: | - npm install - npm run build + - name: Install Dependencies + run: npm install + + - name: Build with Vite + + run: npx vite build - name: Sync Files run: | - # This clears the old version and puts the new one in - rm -rf /var/www/jody/dist - cp -r dist /var/www/jody/ \ No newline at end of file + mkdir -p /var/www/my-app/dist + rm -rf /var/www/my-app/dist/* + cp -r dist/* /var/www/my-app/dist/ \ No newline at end of file