Skip to content

Commit a499ec9

Browse files
committed
Show deployment result
1 parent 9978c1b commit a499ec9

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ This project automates the provisioning and deployment of a scalable cloud appli
110110
## 🚀 Live Demo <a name="live-demo"></a>
111111

112112
- [Frontend Web App](https://softdefault-movies-app.azurewebsites.net/)
113-
- [API Endpoint (behind Load Balancer)](http://your-lb-ip-or-dns)
113+
- [API Endpoint (behind Load Balancer)](http://my-movie-analyst-lb.westus2.cloudapp.azure.com:8080/health)
114114

115115
<div align="center">
116116
<img width="778" height="590" alt="Movie Analyst main page" src="https://github.com/user-attachments/assets/e804228f-3930-4fa1-bd6f-1106f811d83c" />

ansible/deploy-frontend.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,7 @@
5656
--src-path {{ ZIP_PATH }} \
5757
--type zip
5858
59-
- name: Wait for frontend to become available
60-
uri:
61-
url: "https://{{ APP_SERVICE_NAME }}.azurewebsites.net"
62-
status_code: 200
63-
timeout: 30
64-
validate_certs: no
65-
register: frontend_status
66-
retries: 10
67-
delay: 5
68-
until: frontend_status.status == 200
59+
- name: Show deployment result
60+
debug:
61+
msg: "✅ Successfully deployed to https://{{ app_service_name }}.azurewebsites.net"
62+
when: deployment_check.status == 200

0 commit comments

Comments
 (0)