From 571d61de84edb0796c4bab912d5d4352ed1d5921 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 25 May 2020 15:21:14 +0200 Subject: [PATCH] Cancel previous automatically? --- .github/workflows/ci.yml | 9 +++++++++ build_helpers/publish_docker_pi.sh | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ab842eeb..faa71a4d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -190,6 +190,15 @@ jobs: channel: '#notifications' url: ${{ secrets.SLACK_WEBHOOK }} + cleanup-prior-runs: + runs-on: ubuntu-latest + steps: + - name: Cleanup previous runs on this branch + uses: rokroskar/workflow-run-cleanup-action@v0.2.2 + if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master' && github.repository == 'freqtrade/freqtrade'" + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + deploy: needs: [ build, build_windows, docs_check ] runs-on: ubuntu-18.04 diff --git a/build_helpers/publish_docker_pi.sh b/build_helpers/publish_docker_pi.sh index 35b9ff5f7..f6424c335 100755 --- a/build_helpers/publish_docker_pi.sh +++ b/build_helpers/publish_docker_pi.sh @@ -38,7 +38,7 @@ fi # Show all available images docker images -docker push ${IMAGE_NAME} +# docker push ${IMAGE_NAME} if [ $? -ne 0 ]; then echo "failed pushing to repo" return 1