Skip to content

Commit

Permalink
Test caddy without TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexy2 committed Aug 29, 2024
1 parent fecb2aa commit 20653da
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/build-caddy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
env:
SERVER_DOMAIN: orbitar.test
BACKEND_DOMAIN: orbitar.backend
TLS_CERT_PATH:
TLS_CERT_PATH: '{}'
TLS_KEY_PATH:
steps:
- name: Checkout
Expand All @@ -27,16 +27,6 @@ jobs:
SERVER_HOST: http://orbitar.test
API_HOST: http://api.orbitar.test
run: caddy validate --config caddy/Caddyfile
- name: Enable TLS
run: |
cd caddy
rm off.tls.Caddyfile
mv on-tls.Caddyfile on.tls.Caddyfile
- name: Validate Caddyfile with TLS
env:
SERVER_HOST: https://orbitar.test
API_HOST: https://api.orbitar.test
run: caddy validate --config caddy/Caddyfile
- name: Switch to deploy-frontend
run: |
rm caddy/dev.frontend.Caddyfile
Expand Down

0 comments on commit 20653da

Please sign in to comment.