Permalink
Cannot retrieve contributors at this time
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?
IDEA-DeFi-CRAFT/.github/workflows/prod-workflow.yml
View runs Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37 lines (29 sloc)
784 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: prod-workflow | |
on: | |
push: | |
branches: [ main ] | |
paths: 'All DeFi Data Engine Content/DeFi-Data-Engine/**' | |
workflow_dispatch: | |
jobs: | |
buildDocker: | |
runs-on: [ self-hosted ] | |
defaults: | |
run: | |
working-directory: "All DeFi Data Engine Content/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: "All DeFi Data Engine Content/DeFi-Data-Engine/" | |
steps: | |
- name: Create Containers | |
run: docker compose create | |
- name: Start services | |
run: docker compose start |