Fixed Deploy workflow again
Some checks failed
Build and Deploy VitePress / build-and-deploy (push) Failing after 32s
Some checks failed
Build and Deploy VitePress / build-and-deploy (push) Failing after 32s
This commit is contained in:
parent
90fe5b5e2d
commit
20ae261e08
1 changed files with 3 additions and 3 deletions
|
|
@ -27,12 +27,12 @@ jobs:
|
||||||
- name: Build with VitePress
|
- name: Build with VitePress
|
||||||
run: npm run site:build
|
run: npm run site:build
|
||||||
|
|
||||||
- name: Deploy to /srv/site
|
- name: Deploy to retards-site
|
||||||
run: |
|
run: |
|
||||||
echo "Cleaning existing site..."
|
echo "Cleaning existing site..."
|
||||||
rm -rf /srv/retards-site/*
|
rm -rf retards-site/*
|
||||||
|
|
||||||
echo "Copying new build..."
|
echo "Copying new build..."
|
||||||
cp -r .vitepress/dist/* /srv/retards-site/
|
cp -r .vitepress/dist/* retards-site/
|
||||||
|
|
||||||
echo "Deployment complete."
|
echo "Deployment complete."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue