Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Destiny Saturday  <[email protected]>
  • Loading branch information
ThePrimeJnr authored Aug 2, 2024
1 parent 343c86c commit 2835f5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ sshpass -p "$SERVER_PASSWORD" scp -o StrictHostKeyChecking=no -P $SERVER_PORT pr

# Run the pr-deploy.sh script on the remote server.
echo "REPO_URL: $REPO_URL"
sshpass -p "$SERVER_PASSWORD" ssh -o StrictHostKeyChecking=no -p $SERVER_PORT $SERVER_USERNAME@$SERVER_HOST 'REPO_URL=$REPO_URL; chmod +x /srv/pr-deploy.sh; /srv/pr-deploy.sh'
sshpass -p "$SERVER_PASSWORD" ssh -o StrictHostKeyChecking=no -p $SERVER_PORT $SERVER_USERNAME@$SERVER_HOST \
"REPO_URL='$REPO_URL'; chmod +x /srv/pr-deploy.sh; /srv/pr-deploy.sh"

0 comments on commit 2835f5b

Please sign in to comment.