diff --git a/.github/workflows/prod-workflow.yml b/.github/workflows/prod-workflow.yml deleted file mode 100644 index 3e33dc0a..00000000 --- a/.github/workflows/prod-workflow.yml +++ /dev/null @@ -1,40 +0,0 @@ -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: sudo docker compose down - - - name: Build - run: sudo docker compose build - - - name: Push to Docker - run: sudo docker compose push - - 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: sudo docker compose start