Skip to content

Commit

Permalink
Merge pull request #3 from davi-lucciola/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
davi-lucciola authored Jul 19, 2024
2 parents 3685c9f + 81028d3 commit cecf7e4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Continuos Integration - CI

on:
workflow_run:
workflows: ["Tests"]
types:
- completed
branches-ignore:
- "dev"
push:
branches: [main]

# workflow_run:
# workflows: ["Tests"]
# types:
# - completed
# branches-ignore:
# - "dev"

jobs:
ci:
Expand All @@ -24,7 +27,9 @@ jobs:

# API - Docker Image
- name: Build Docker Image (API)
run: docker build ./server -t knockbank-api
run: |
cd server
docker build -t knockbank-api .
- name: Push Docker Image (API)
run: docker push davilucciola/knockbank-api:latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Tests

on:
push:
branches: [main, dev]
branches: [dev]

jobs:
tests:
Expand Down

0 comments on commit cecf7e4

Please sign in to comment.