hooking up jody with the good shit
Some checks failed
Deploy Jody's App / build-and-deploy (push) Failing after 16s
Some checks failed
Deploy Jody's App / build-and-deploy (push) Failing after 16s
This commit is contained in:
@@ -11,13 +11,15 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install and Build
|
- name: Install Dependencies
|
||||||
run: |
|
run: npm install
|
||||||
npm install
|
|
||||||
npm run build
|
- name: Build with Vite
|
||||||
|
|
||||||
|
run: npx vite build
|
||||||
|
|
||||||
- name: Sync Files
|
- name: Sync Files
|
||||||
run: |
|
run: |
|
||||||
# This clears the old version and puts the new one in
|
mkdir -p /var/www/my-app/dist
|
||||||
rm -rf /var/www/jody/dist
|
rm -rf /var/www/my-app/dist/*
|
||||||
cp -r dist /var/www/jody/
|
cp -r dist/* /var/www/my-app/dist/
|
||||||
Reference in New Issue
Block a user