Skip to content

Commit 0dba67f

Browse files
committed
chore: move prod deploy to manual trigger
1 parent e9e142c commit 0dba67f

File tree

3 files changed

+25
-44
lines changed

3 files changed

+25
-44
lines changed

.github/workflows/prod_deploy.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Prod Deploy
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
id-token: write
8+
contents: write
9+
10+
jobs:
11+
get:
12+
uses: ./.github/workflows/get_build.yml
13+
with:
14+
environment: ci
15+
version: 0.4.0
16+
17+
dev:
18+
uses: ./.github/workflows/deploy.yml
19+
needs: get
20+
with:
21+
environment: dev
22+
infra_version: 0.4.0
23+
lambda_bucket: ${{ needs.get.outputs.lambda_bucket }}
24+
lambda_version: ${{ needs.get.outputs.lambda_version }}

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
fetch-depth: 0
2525
- name: Get current tag
2626
id: get_tag
27+
# this fails on first run when no tag exist - fix later
2728
run: |
2829
CURRENT_TAG=$(git describe --tags --abbrev=0)
2930
echo "CURRENT_TAG=${CURRENT_TAG}" >> $GITHUB_OUTPUT

.github/workflows/release_prod.yml

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

0 commit comments

Comments
 (0)