This commit is contained in:
@@ -29,12 +29,6 @@ jobs:
|
||||
rm -rf /var/www/jody/dist/*
|
||||
cp -r dist/* /var/www/jody/dist/
|
||||
|
||||
- name: Debug runner identity
|
||||
run: |
|
||||
whoami
|
||||
id
|
||||
ls -ld /var/www/jody/contact-api /var/www/jody/contact-api/dist || true
|
||||
|
||||
- name: Sync Contact API Runtime Files
|
||||
run: |
|
||||
mkdir -p /var/www/jody/contact-api
|
||||
@@ -50,8 +44,8 @@ jobs:
|
||||
|
||||
- name: Restart Contact API
|
||||
run: |
|
||||
systemctl restart jody-contact-api
|
||||
systemctl is-active --quiet jody-contact-api
|
||||
sudo -n systemctl restart jody-contact-api
|
||||
sudo -n systemctl is-active --quiet jody-contact-api
|
||||
|
||||
- name: Health Check Contact API
|
||||
run: curl --fail --silent http://127.0.0.1:8787/health
|
||||
|
||||
Reference in New Issue
Block a user