We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5de6214 commit 6b3f30eCopy full SHA for 6b3f30e
.github/workflows/publish.yml
@@ -20,13 +20,10 @@ jobs:
20
- name: Run chmod to make gradlew executable
21
run: chmod +x ./gradlew
22
23
- - name: Build with Gradle
+ - name: Build and Publish
24
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
25
- with:
26
- arguments: bootJar
27
- - name: Deploy to prod
28
env:
29
deployUser: ${{ secrets.CLOJARS_USER }}
30
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/
+ with:
+ arguments: publish
0 commit comments