diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index aec8463..a413330 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -31,4 +31,5 @@ jobs: collection: tests/autotests.json environment: tests/local_env.json - name: Docker down + if: always() run: docker compose -p test_codebattles -f test-docker-compose.yml down diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index c89c6ed..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: deploy -on: workflow_dispatch -jobs: - build: - name: build - runs-on: self-hosted - steps: - - uses: actions/checkout@v1 - - name: build - run: docker compose build - run: - needs: [build] - runs-on: self-hosted - steps: - - name: run - run: docker compose up -d diff --git a/.github/workflows/newman-tests.yml b/.github/workflows/newman-tests.yml index dace043..05e235d 100644 --- a/.github/workflows/newman-tests.yml +++ b/.github/workflows/newman-tests.yml @@ -17,5 +17,6 @@ jobs: collection: tests/autotests.json environment: tests/local_env.json - name: Docker down + if: always() run: docker compose -p test_codebattles -f test-docker-compose.yml down