We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85c85a2 commit 81e7ee5Copy full SHA for 81e7ee5
.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
@@ -21,16 +21,11 @@ jobs:
21
22
- name: Setup Gradle
23
uses: gradle/actions/setup-gradle@v3
24
+ with:
25
+ cache-read-only: false
26
27
- name: Build project
- run: ./gradlew bootJar
-
28
- push:
29
- needs: build
30
- runs-on: ubuntu-24.04
31
- steps:
32
- - name: Checkout source
33
- uses: actions/checkout@v4
+ run: ./gradlew clean bootJar
34
35
- name: Login to Docker Hub
36
uses: docker/login-action@v3
@@ -49,7 +44,7 @@ jobs:
49
44
${{ secrets.DOCKERHUB_USERNAME }}/crew-wiki:${{ github.sha }}
50
45
51
46
deploy:
52
- needs: push
47
+ needs: build-and-push
53
48
54
55
- name: Deploy to Server
0 commit comments