21 lines
No EOL
841 B
Bash
Executable file
21 lines
No EOL
841 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Verify certificate test data on the server
|
|
|
|
echo "=== Verifying Certificate Test Data on Staging Server ==="
|
|
echo "Remote host: 146.190.76.204"
|
|
echo "Remote user: roodev"
|
|
echo "==============================="
|
|
|
|
# Copy PHP script to server and execute
|
|
echo "[1;33mCopying verification script to server...[0m"
|
|
scp /Users/ben/dev/upskill-event-manager/wordpress-dev/bin/verify-certificate-data.php roodev@146.190.76.204:~/public_html/
|
|
|
|
echo "[1;33mExecuting verification script on server...[0m"
|
|
ssh roodev@146.190.76.204 "cd ~/public_html/ && php verify-certificate-data.php"
|
|
|
|
# Clean up
|
|
ssh roodev@146.190.76.204 "rm ~/public_html/verify-certificate-data.php"
|
|
|
|
echo "[0;32mVerification completed![0m"
|
|
echo "You can manually test the certificate system at: https://wordpress-974670-5399585.cloudwaysapps.com/certificate-reports/" |