Skip to content

Commit 04bc1eb

Browse files
committed
secrets updated
1 parent 5033353 commit 04bc1eb

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Deployment Workflow
55

66
on:
77
push:
8-
branches: [ "main" ]
8+
branches: [ "main", "dev"]
99

1010
pull_request:
1111
branches: [ "main" ]
@@ -60,7 +60,8 @@ env:
6060
jobs:
6161
build-test:
6262
runs-on: ubuntu-latest
63-
63+
environment: staging
64+
6465
steps:
6566
- name: Get Code
6667
uses: actions/checkout@v4
@@ -81,6 +82,7 @@ jobs:
8182
build-publish:
8283
needs: build-test
8384
runs-on: ubuntu-latest
85+
environment: production
8486
outputs:
8587
random-number: ${{ steps.publish.outputs.random-num }}
8688
steps:
@@ -108,7 +110,7 @@ jobs:
108110
deploy:
109111
needs: build-publish
110112
runs-on: ubuntu-latest
111-
113+
environment: production
112114
steps:
113115
- name: Downloading build Artifacts
114116
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)