From 6f7efed5e584a8f59182bb81b7a33fe1e3030015 Mon Sep 17 00:00:00 2001 From: Ben Mosley Date: Wed, 7 Jan 2026 20:18:47 -0600 Subject: [PATCH] Hooking up Jody with the good shit --- .gitea/workflows/deploy.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/deploy.yaml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..e3098b1 --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,23 @@ +name: Deploy Jody's App +on: + push: + branches: + - main + +jobs: + build-and-deploy: + runs-on: vps-host + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install and Build + run: | + npm install + npm run 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