We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fa3e183 + 1fec7aa commit b0e5a39Copy full SHA for b0e5a39
.github/workflows/dev-cd.yml
@@ -7,7 +7,7 @@ on:
7
- "**"
8
9
jobs:
10
- build:
+ build-and-push:
11
runs-on: ubuntu-24.04
12
steps:
13
- name: Checkout source
@@ -25,14 +25,7 @@ jobs:
25
cache-read-only: false
26
27
- 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
+ run: ./gradlew clean bootJar
36
37
- name: Login to Docker Hub
38
uses: docker/login-action@v3
@@ -51,7 +44,7 @@ jobs:
51
44
${{ secrets.DOCKERHUB_USERNAME }}/crew-wiki:${{ github.sha }}
52
45
53
46
deploy:
54
- needs: push
47
+ needs: build-and-push
55
48
56
49
57
50
- name: Deploy to Server
0 commit comments