Skip to content

CD

CD #6

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: Stop running service
run: docker compose down fe --rmi local
- name: Start service
run: docker compose up fe -d