Files
Jody-Portfolio/.gitea/workflows/deploy.yaml
Ben Mosley 6f7efed5e5
Some checks failed
Deploy Jody's App / build-and-deploy (push) Failing after 18s
Hooking up Jody with the good shit
2026-01-07 20:18:47 -06:00

23 lines
450 B
YAML

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/