feat: add deployment script and update favicon
This commit is contained in:
14
deploy.ps1
Normal file
14
deploy.ps1
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# deploy.ps1
|
||||||
|
Write-Output "▶ Building project..."
|
||||||
|
bun run build
|
||||||
|
|
||||||
|
Write-Output "▶ Cleaning remote folder..."
|
||||||
|
ssh root@github.lci.ulsa.mx "find /var/lib/docker/sistemas/genesis/layout -mindepth 1 -delete"
|
||||||
|
|
||||||
|
Write-Output "▶ Uploading dist to server..."
|
||||||
|
scp -r ./dist/* root@github.lci.ulsa.mx:/var/lib/docker/sistemas/genesis/layout/
|
||||||
|
|
||||||
|
Write-Output "▶ Fixing permissions..."
|
||||||
|
ssh root@github.lci.ulsa.mx "chmod -R 755 /var/lib/docker/sistemas/genesis/layout/assets"
|
||||||
|
|
||||||
|
Write-Output "✅ Deploy finished!"
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user