Skip to content

Commit 1fec7aa

Browse files
committed
Merge branch 'main' into develop
2 parents fa3e183 + 81e7ee5 commit 1fec7aa

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/dev-cd.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "**"
88

99
jobs:
10-
build:
10+
build-and-push:
1111
runs-on: ubuntu-24.04
1212
steps:
1313
- name: Checkout source
@@ -25,14 +25,7 @@ jobs:
2525
cache-read-only: false
2626

2727
- name: Build project
28-
run: ./gradlew clean build
29-
30-
push:
31-
needs: build
32-
runs-on: ubuntu-24.04
33-
steps:
34-
- name: Checkout source
35-
uses: actions/checkout@v4
28+
run: ./gradlew clean bootJar
3629

3730
- name: Login to Docker Hub
3831
uses: docker/login-action@v3
@@ -51,7 +44,7 @@ jobs:
5144
${{ secrets.DOCKERHUB_USERNAME }}/crew-wiki:${{ github.sha }}
5245
5346
deploy:
54-
needs: push
47+
needs: build-and-push
5548
runs-on: ubuntu-24.04
5649
steps:
5750
- name: Deploy to Server

0 commit comments

Comments
 (0)