Skip to content

Commit 214b50b

Browse files
committed
cd: github actions
1 parent 8b500b5 commit 214b50b

2 files changed

Lines changed: 3 additions & 33 deletions

File tree

.github/workflows/deploy-production.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
1-
name: Deploy Production
1+
name: Deploy main
22

33
on:
44
push:
55
branches:
6-
- production
6+
- main
77
workflow_dispatch:
88

99
jobs:
10-
eee-prod:
11-
runs-on: eee-ims
12-
steps:
13-
- name: Deploy to production
14-
run: |
15-
cd /home/ubuntu/bphcerp/ERP
16-
git pull
17-
docker compose --profile prod up --build -d
18-
docker compose exec server-prod pnpm db:migrate
19-
docker compose exec server-prod pnpm db:seed
2010
mech-prod:
2111
runs-on: mech-ims
2212
steps:
2313
- name: Deploy to production
2414
run: |
25-
cd /home/ubuntu/mechims
15+
cd /home/ubuntu/gatepass
2616
git pull
2717
docker compose --profile prod up --build -d
2818
docker compose exec server-prod pnpm db:migrate

.github/workflows/deploy-staging.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)