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
|
||||
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/
|
||||
mkdir -p /var/www/my-app/dist
|
||||
rm -rf /var/www/my-app/dist/*
|
||||
cp -r dist/* /var/www/my-app/dist/
|
||||
Reference in New Issue
Block a user