Skip to content

build: Make CD workflow only run after successful CI workflow #2

build: Make CD workflow only run after successful CI workflow

build: Make CD workflow only run after successful CI workflow #2

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v3
- name: Build docker image and run tests
run: |
docker compose build
docker compose up -d
docker compose down