Skip to content

Commit dcfb090

Browse files
committed
Deploy prod
1 parent 5e6e230 commit dcfb090

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/cd.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,11 @@ jobs:
6464
target_path: "~/staging.mapdb.cncnet.org"
6565
compose_file: "docker-compose.prod.yml"
6666
nginx_conf: "docker/nginx.prod.conf"
67-
# disabled for now
68-
# - environment: production
69-
# branch: main
70-
# target_path: "~/prod2.mapdb.cncnet.org"
71-
# compose_file: "docker-compose.prod.yml"
72-
# nginx_conf: "docker/nginx.prod.conf"
67+
- environment: production
68+
branch: main
69+
target_path: "~/new.mapdb.cncnet.org"
70+
compose_file: "docker-compose.prod.yml"
71+
nginx_conf: "docker/nginx.prod.conf"
7372

7473
steps:
7574
- name: "Exit if not matching branch"
@@ -99,4 +98,4 @@ jobs:
9998
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
10099
docker compose -f ${{ matrix.compose_file }} pull
101100
docker compose -f ${{ matrix.compose_file }} down
102-
docker compose -f ${{ matrix.compose_file }} up -d
101+
docker compose -f ${{ matrix.compose_file }} up -d

0 commit comments

Comments
 (0)