Skip to content

remove --remove-orphans from deploy #19

remove --remove-orphans from deploy

remove --remove-orphans from deploy #19

Workflow file for this run

on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: self-hosted
name: VineTrack Deploy
steps:
- name: Clean Workspace
uses: AutoModality/[email protected]
- name: Checkout
uses: actions/[email protected]
- name: Down containers
run: docker compose down
- name: Remove build caches
run: docker builder prune -a -f
- name: Build and up
run: docker compose -f docker-compose.prod.yml up --build -d
env:
MYSQL_ROOT_PASSWORD: ${{secrets.MYSQL_ROOT_PASSWORD}}
MYSQL_PASSWORD: ${{secrets.MYSQL_PASSWORD }}
RABBITMQ_DEFAULT_PASS: ${{secrets.RABBITMQ_DEFAULT_PASS}}