Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dynomake committed Feb 21, 2024
1 parent 5de6214 commit 6b3f30e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,10 @@ jobs:
- name: Run chmod to make gradlew executable
run: chmod +x ./gradlew

- name: Build with Gradle
- name: Build and Publish
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: bootJar
- name: Deploy to prod
env:
deployUser: ${{ secrets.CLOJARS_USER }}
deployToken: ${{ secrets.CLOJARS_TOKEN }}
run: |
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 comments on commit 6b3f30e

Please sign in to comment.