Backend/.gitea/workflows/ci.yml
Liam a9a1948c1f
Some checks failed
deploy / deploy (push) Failing after 16s
ci
2024-04-08 07:27:59 +01:00

31 lines
649 B
YAML

name: "deploy"
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: Cloning repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Run Tests
run: mvn --batch-mode test
- name: Push to dokku
uses: dokku/github-action@master
with:
git_remote_url: "ssh://dokku@10.0.50.137:22/minecraft-helper"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}