Skip to content

Merge pull request #35 from KERT-core/release #1

Merge pull request #35 from KERT-core/release

Merge pull request #35 from KERT-core/release #1

Workflow file for this run

name: CD
on:
push:
branches:
- main
workflow_run:
workflows: ["CI"]
types:
- completed
jobs:
deploy:
if: ${{ github.event_name == 'push' && github.actor != 'github-actions[bot]' }}
runs-on: 'self-hosted'
steps:
- name: Check out code
uses: actions/[email protected]
- name: Build with Gradle Wrapper
run: |
chmod +x ./gradlew
./gradlew clean build -x test
- name: Stop running service
run: docker compose down be --rmi local
- name: Start service
run: docker compose up be -d