Skip to content

Commit

Permalink
Add deploy script [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
nicou committed Jun 10, 2024
1 parent 0cf52b8 commit 57b18a9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

set -euo pipefail

DEPLOY_PATH="/var/www/odysseus/adminui/"
SOURCE_PATH="dist/"

npm run build

rsync -avzr --delete "$SOURCE_PATH" "$DEPLOY_PATH"
echo "Deployed to $DEPLOY_PATH"

0 comments on commit 57b18a9

Please sign in to comment.