Skip to content

Commit

Permalink
Added workflow_dispatch dev build & push
Browse files Browse the repository at this point in the history
  • Loading branch information
eduwardo committed Oct 11, 2024
1 parent caeff7a commit 64a890e
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 21 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-push-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ name: "Build & Push Dev"
on:
push:
branches:
- 'develop'
- 'main'
- "develop"
- "main"
paths:
- 'packages/**'
- '!packages/probing-frontend'
- "packages/**"
- "!packages/probing-frontend"
workflow_dispatch:

jobs:
build_push_image:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-push-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: "Build & Push Prod"
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]'
- "[0-9]+.[0-9]+.[0-9]"
paths:
- 'packages/**'
- '!packages/probing-frontend'
- "packages/**"
- "!packages/probing-frontend"

jobs:
build_push_image:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-push-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: "Build & Push UAT"
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]-rc[0-9]+'
- "[0-9]+.[0-9]+.[0-9]-rc[0-9]+"
paths:
- 'packages/**'
- '!packages/probing-frontend'
- "packages/**"
- "!packages/probing-frontend"

jobs:
build_push_image:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/frontend-build-deploy-develop.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: 'Dev CI/CD'
name: "Dev CI/CD"
on:
push:
branches:
- 'develop'
- "develop"
paths:
- 'packages/probing-frontend/**'
- "packages/probing-frontend/**"

jobs:
deploy_dev:
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set Node.js 20.x
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: '20'
node-version: "20"
- uses: pnpm/action-setup@v3
with:
run_install: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/frontend-build-deploy-prod.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: 'PROD CI/CD'
name: "PROD CI/CD"
on:
push:
tags:
- 'v*'
- '!v*-rc*'
- "v*"
- "!v*-rc*"

jobs:
deploy_prod:
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Set Node.js 20.x
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: '20'
node-version: "20"
- uses: pnpm/action-setup@v3
with:
run_install: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/frontend-build-deploy-uat.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: 'UAT CI/CD'
name: "UAT CI/CD"
on:
push:
tags:
- 'v*-rc*'
- "v*-rc*"

jobs:
deploy_uat:
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set Node.js 20.x
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: '20'
node-version: "20"
- uses: pnpm/action-setup@v3
with:
run_install: true
Expand Down

0 comments on commit 64a890e

Please sign in to comment.