Skip to content

Commit 8e7064c

Browse files
workflow updated
1 parent 2043955 commit 8e7064c

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- main
77
pull_request:
88

9-
109
defaults:
1110
run:
1211
working-directory: ./backend
@@ -16,7 +15,6 @@ jobs:
1615
runs-on: ubuntu-latest
1716

1817
steps:
19-
2018
- name: Checkout repository
2119
uses: actions/checkout@v3
2220

@@ -32,10 +30,9 @@ jobs:
3230
run: npm run build
3331

3432
- name: Build Docker image
35-
run: docker build -t my-api:${{ github.sha }} ./backend
33+
run: docker build -t my-api:${{ github.sha }} .
34+
3635

37-
3836
- name: Build and run Docker Compose
3937
working-directory: ./
40-
run: docker-compose -f docker-compose.yml up --build -d
41-
38+
run: docker-compose -f docker-compose.yml up --build -d

0 commit comments

Comments
 (0)