Skip to content

Commit

Permalink
Create dev-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
flynnc3 authored Apr 2, 2023
1 parent db1f5ec commit 796beb3
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/dev-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: dev-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: sudo docker compose create

- name: Start services
run: docker compose up

0 comments on commit 796beb3

Please sign in to comment.