Skip to content
Permalink
9d8c9b58cc
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
View runs Go to file
 
 
Cannot retrieve contributors at this time
37 lines (29 sloc) 697 Bytes
name: prod-workflow
on:
push:
branches: [ main ]
paths: 'DeFi-Data-Engine/**'
workflow_dispatch:
jobs:
buildDocker:
runs-on: [ self-hosted ]
defaults:
run:
working-directory: "DeFi-Data-Engine/"
steps:
- uses: actions/checkout@v3
- name: Stop Existing Images
run: docker compose down
- name: Build
run: docker compose build
runDocker:
needs: buildDocker
runs-on: [ self-hosted ]
defaults:
run:
working-directory: "DeFi-Data-Engine/"
steps:
- name: Create Containers
run: docker compose create
- name: Start services
run: docker compose start