Skip to content

feat: cache skolengo homework in redis #11

feat: cache skolengo homework in redis

feat: cache skolengo homework in redis #11

Workflow file for this run

name: Deploy
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven
run: mvn -B compile assembly:single --file pom.xml
- uses: actions/upload-artifact@v2
with:
name: target
path: target/
- run: mv target/kdecole-notification-bot-0.0.1-SNAPSHOT-jar-with-dependencies.jar kdecole-bot
- uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
source: "kdecole-bot"
target: "/usr/bin"
overwrite: true