Skip to content

Commit f867524

Browse files
committed
change platform server
1 parent e9dcda7 commit f867524

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/bundle-to-platform/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
artifacts_path=$1
2-
destination_path="/home/watchtower/www/latest-watchtower-bundle.tar.gz"
2+
destination_path="/home/sjorso/www/latest-watchtower-bundle.tar.gz"
33

44
on_exit() {
55
script_status_code=$?
@@ -18,6 +18,6 @@ fi
1818

1919
mv "$artifacts_path" "$destination_path"
2020

21-
cd "/home/watchtower/www/watchtower-platform/current" || exit 1
21+
cd "/home/sjorso/www/watchtower-platform/current" || exit 1
2222

2323
php8.4 artisan new-watchtower-bundle

.github/bundle-to-platform/prepare.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ remote_artifacts_path="/tmp/deployment-artifacts-$(head -c 512 /dev/urandom | tr
3939

4040
echo "Uploading artifacts to the remote server."
4141

42-
scp -P "22" "artifacts.tar.gz" "watchtower@178.156.168.251:$remote_artifacts_path"
42+
scp -P "22" "artifacts.tar.gz" "sjorso@167.235.26.246:$remote_artifacts_path"
4343

4444
echo "Running the deployment script on the remote server."
4545

46-
ssh "watchtower@178.156.168.251" -p "22" "tar -xf $remote_artifacts_path .github/bundle-to-platform/deploy.sh -O | bash -seo pipefail -- \"$remote_artifacts_path\""
46+
ssh "sjorso@167.235.26.246" -p "22" "tar -xf $remote_artifacts_path .github/bundle-to-platform/deploy.sh -O | bash -seo pipefail -- \"$remote_artifacts_path\""

0 commit comments

Comments
 (0)