Hopefully fixed Deploy workflow this time
Some checks failed
Build and Deploy VitePress / build-and-deploy (push) Failing after 10s
Some checks failed
Build and Deploy VitePress / build-and-deploy (push) Failing after 10s
This commit is contained in:
parent
aa75807a86
commit
f65fba2873
1 changed files with 2 additions and 7 deletions
|
|
@ -29,15 +29,10 @@ jobs:
|
|||
|
||||
- name: Deploy to retards-site
|
||||
run: |
|
||||
echo "Deploying in $(pwd)/retards-site..."
|
||||
|
||||
echo "Ensuring target directory exists..."
|
||||
mkdir -p retards-site
|
||||
|
||||
echo "Cleaning existing site..."
|
||||
rm -rf retards-site/*
|
||||
rm -rf /srv/retards-site/*
|
||||
|
||||
echo "Copying new build..."
|
||||
cp -r .vitepress/dist/* retards-site/
|
||||
cp -r .vitepress/dist/* /srv/retards-site/
|
||||
|
||||
echo "Deployment complete."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue