Cancel previous automatically?
This commit is contained in:
parent
4fbd2deb37
commit
571d61de84
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -190,6 +190,15 @@ jobs:
|
|||||||
channel: '#notifications'
|
channel: '#notifications'
|
||||||
url: ${{ secrets.SLACK_WEBHOOK }}
|
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:
|
deploy:
|
||||||
needs: [ build, build_windows, docs_check ]
|
needs: [ build, build_windows, docs_check ]
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
|
@ -38,7 +38,7 @@ fi
|
|||||||
# Show all available images
|
# Show all available images
|
||||||
docker images
|
docker images
|
||||||
|
|
||||||
docker push ${IMAGE_NAME}
|
# docker push ${IMAGE_NAME}
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "failed pushing to repo"
|
echo "failed pushing to repo"
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user