Skip to content

Commit

Permalink
Speed up CD Staging Workflows (#107)
Browse files Browse the repository at this point in the history
* speed up cd staging workflow

* fix cd deployment traefik config
  • Loading branch information
RealDyllon authored Jun 14, 2023
1 parent eb3477b commit 432bd43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/cd-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3

- name: Free Up Space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: false
swap-storage: false

- name: Deploy and run docker images
env:
PRIVATE_KEY: ${{ secrets.STAGING_EC2_PRIVATE_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions deployments/staging/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ services:
- mongo
labels:
- "traefik.enable=true"
- "traefik.http.routers.cms.rule=Host(`cms.staging.ntuscse.com`, `13.213.116.60`, `localhost`)"
- "traefik.http.routers.cms.rule=Host(`cms.staging.ntuscse.com`)"
- "traefik.http.routers.cms.entrypoints=websecure"
- "traefik.http.routers.cms.tls.certresolver=myresolver"
mongo:
Expand All @@ -70,7 +70,7 @@ services:
- mongo
labels:
- "traefik.enable=true"
- "traefik.http.routers.merch.rule=Host(`merch.staging.ntuscse.com`, `13.213.116.60`, `localhost`)"
- "traefik.http.routers.merch.rule=Host(`merch.staging.ntuscse.com`)"
- "traefik.http.routers.merch.entrypoints=websecure"
- "traefik.http.routers.merch.tls.certresolver=myresolver"

Expand Down

0 comments on commit 432bd43

Please sign in to comment.