Temporarily removed backup stats in server monitor #150
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deploy | |
on: [push] | |
jobs: | |
Build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: Deploy jar to server | |
uses: garygrossgarten/github-action-scp@release | |
with: | |
local: PickupBot.jar | |
remote: /home/pug/PickupDiscord/PickupBot.jar | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.SSH_USER }} | |
password: ${{ secrets.SSH_PASSWORD }} |