Fix Nginx startup in deployment
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 21s
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 21s
This commit is contained in:
@@ -17,6 +17,10 @@ jobs:
|
||||
run: |
|
||||
docker build --pull -t akkolli-website:latest .
|
||||
|
||||
- name: Validate web server configuration
|
||||
run: |
|
||||
docker run --rm akkolli-website:latest nginx -t
|
||||
|
||||
- name: Stop existing container
|
||||
run: |
|
||||
docker stop website-container || true
|
||||
|
||||
Reference in New Issue
Block a user