Skip to content

Commit 6b3f30e

Browse files
committed
fix: workflow
1 parent 5de6214 commit 6b3f30e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/publish.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,10 @@ jobs:
2020
- name: Run chmod to make gradlew executable
2121
run: chmod +x ./gradlew
2222

23-
- name: Build with Gradle
23+
- name: Build and Publish
2424
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
25-
with:
26-
arguments: bootJar
27-
- name: Deploy to prod
2825
env:
2926
deployUser: ${{ secrets.CLOJARS_USER }}
3027
deployToken: ${{ secrets.CLOJARS_TOKEN }}
31-
run: |
32-
sshpass -v -p ${{ secrets.DEPLOY_PASSWORD }} scp -o StrictHostKeyChecking=no -P ${{ secrets.DEPLOY_PORT }} ${{ github.workspace }}/build/libs/backend.jar ${{ secrets.DEPLOY_USERNAME }}@${{ secrets.DEPLOY_HOST }}:/home/dynomake/vpn/
28+
with:
29+
arguments: publish

0 commit comments

Comments
 (0)