File tree Expand file tree Collapse file tree
.github/bundle-to-platform Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11artifacts_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
44on_exit () {
55 script_status_code=$?
1818
1919mv " $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
2323php8.4 artisan new-watchtower-bundle
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ remote_artifacts_path="/tmp/deployment-artifacts-$(head -c 512 /dev/urandom | tr
3939
4040echo " 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
4444echo " 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 \" "
You can’t perform that action at this time.
0 commit comments