Skip to content

changed config for docker-connection #34

changed config for docker-connection

changed config for docker-connection #34

name: DockerProd Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: "self-hosted"
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Deploy via Docker
run: |
docker compose down
docker compose rm -f
docker compose up --build -d