We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f62de8b commit d50bbd9Copy full SHA for d50bbd9
.github/workflows/api-deploy.yml
@@ -6,12 +6,14 @@ on:
6
paths:
7
- api/**
8
- .github/workflows/api-deploy.yml
9
+ tags:
10
+ - '*.*.*'
11
permissions:
12
contents: read
13
14
jobs:
15
build-deploy:
- environment: dev
16
+ environment: ${{ github.ref == 'refs/heads/main' && 'dev' || 'prod' }}
17
name: Build & Deploy 📦
18
runs-on: ubuntu-latest
19
defaults:
.github/workflows/ui-deploy.yml
- ui/**
- ui-deploy.yml
name: Build & Deploy 🪣
0 commit comments