We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f95f03c commit d7caf4aCopy full SHA for d7caf4a
.github/workflows/deploy.yml
@@ -0,0 +1,29 @@
1
+name: deploy
2
+
3
+on:
4
+ create:
5
+ tags: [v*]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Set up JDK 11
14
+ uses: actions/setup-java@v1
15
+ with:
16
+ java-version: 11
17
+ - name: Build app with Gradle
18
+ run: chmod +x gradlew && ./gradlew shadowJar
19
20
21
+ - name: Copy app to server
22
+ uses: appleboy/[email protected]
23
24
+ host: ${{ secrets.SSH_HOST }}
25
+ username: ${{ secrets.SSH_USER }}
26
+ password: ${{ secrets.SSH_PASS }}
27
+ port: ${{ secrets.SSH_PORT }}
28
+ source: "build/libs/SimilarImagesBot-1.0.2-all.jar"
29
+ target: "bots/similar-images-bot"
0 commit comments