Skip to content

Commit d50bbd9

Browse files
committed
chore: prod deployment
1 parent f62de8b commit d50bbd9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/api-deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ on:
66
paths:
77
- api/**
88
- .github/workflows/api-deploy.yml
9+
tags:
10+
- '*.*.*'
911
permissions:
1012
contents: read
1113

1214
jobs:
1315
build-deploy:
14-
environment: dev
16+
environment: ${{ github.ref == 'refs/heads/main' && 'dev' || 'prod' }}
1517
name: Build & Deploy 📦
1618
runs-on: ubuntu-latest
1719
defaults:

.github/workflows/ui-deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ on:
66
paths:
77
- ui/**
88
- ui-deploy.yml
9+
tags:
10+
- '*.*.*'
911
permissions:
1012
contents: read
1113

1214
jobs:
1315
build-deploy:
14-
environment: dev
16+
environment: ${{ github.ref == 'refs/heads/main' && 'dev' || 'prod' }}
1517
name: Build & Deploy 🪣
1618
runs-on: ubuntu-latest
1719
defaults:

0 commit comments

Comments
 (0)