Spaces:
Running
Running
Commit ·
eebb3f2
1
Parent(s): 1378d74
Found the issue in cd ci
Browse files
.github/workflows/ci-cd.yml
CHANGED
|
@@ -8,6 +8,7 @@ on:
|
|
| 8 |
jobs:
|
| 9 |
test:
|
| 10 |
runs-on: ubuntu-latest
|
|
|
|
| 11 |
|
| 12 |
services:
|
| 13 |
postgres:
|
|
@@ -56,6 +57,7 @@ jobs:
|
|
| 56 |
deploy:
|
| 57 |
runs-on: ubuntu-latest
|
| 58 |
needs: test
|
|
|
|
| 59 |
|
| 60 |
steps:
|
| 61 |
- name: Checkout code
|
|
|
|
| 8 |
jobs:
|
| 9 |
test:
|
| 10 |
runs-on: ubuntu-latest
|
| 11 |
+
environment: Testing
|
| 12 |
|
| 13 |
services:
|
| 14 |
postgres:
|
|
|
|
| 57 |
deploy:
|
| 58 |
runs-on: ubuntu-latest
|
| 59 |
needs: test
|
| 60 |
+
environment: Deploy
|
| 61 |
|
| 62 |
steps:
|
| 63 |
- name: Checkout code
|