There was an error while loading. Please reload this page.
1 parent 8b500b5 commit 214b50bCopy full SHA for 214b50b
2 files changed
.github/workflows/deploy-production.yml
@@ -1,28 +1,18 @@
1
-name: Deploy Production
+name: Deploy main
2
3
on:
4
push:
5
branches:
6
- - production
+ - main
7
workflow_dispatch:
8
9
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
20
mech-prod:
21
runs-on: mech-ims
22
steps:
23
- name: Deploy to production
24
run: |
25
- cd /home/ubuntu/mechims
+ cd /home/ubuntu/gatepass
26
git pull
27
docker compose --profile prod up --build -d
28
docker compose exec server-prod pnpm db:migrate
.github/workflows/deploy-staging.yml
0 commit comments