test deploy condition

This commit is contained in:
Akolzin Dmitry 2020-02-19 16:53:05 +03:00
parent 1971aa0cb4
commit 752b11a2b6

View File

@ -76,5 +76,7 @@ jobs:
api_key: $GITHUB_OAUTH_TOKEN api_key: $GITHUB_OAUTH_TOKEN
skip_cleanup: true skip_cleanup: true
file: $ARCHIVE_NAME file: $ARCHIVE_NAME
on:
condition: "$LAST_TAG != $CURRENT_VERSION"
if: branch = master AND type = push AND fork = true if: branch = master AND type = push AND fork = true
after_deploy: make delete_archive after_deploy: make delete_archive