aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMenny Even Danan <menny@evendanan.net>2020-02-05 16:58:38 +0000
committerMenny Even Danan <menny@evendanan.net>2020-02-05 16:58:38 +0000
commit01b78a09b804136c18fad0778a9e6d370b0bb295 (patch)
treecbd089f22460f60ea246e09b3bfa27c9c63925db /.github/workflows
parentc64523b453241229818b962f9e7a2729bec5eece (diff)
downloadAnySoftKeyboard-01b78a09b804136c18fad0778a9e6d370b0bb295.tar.gz
AnySoftKeyboard-01b78a09b804136c18fad0778a9e6d370b0bb295.tar.bz2
deploy workflow changes
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index b24c8d5b9..418c33e15 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -1,9 +1,11 @@
name: checks
on:
- #every time a checks suite has finished
check_suite:
types: [completed]
+ branches:
+ - 'master'
+ - 'release-branch-v*'
env:
TERM: dumb
@@ -19,6 +21,9 @@ jobs:
- name: setup
env:
GITHUB_CONTEXT_JSON: ${{ toJson(github) }}
+ SUITE_CONCLUSION: ${{ github.event.check_suite.conclusion }}
+ SUITE_NAME: ${{ github.event.check_suite.name }}
+
run: |
echo "ENV:"
printenv
@@ -29,6 +34,12 @@ jobs:
echo "CONTEXT: "
echo "${GITHUB_CONTEXT_JSON}"
echo "***"
+ echo "SUITE_NAME: "
+ echo "${SUITE_NAME}"
+ echo "***"
+ echo "SUITE_CONCLUSION: "
+ echo "${SUITE_CONCLUSION}"
+ echo "***"
./scripts/ci/ci_setup.sh
- name: Getting current master checks status
run: wget --header=Accept:application/vnd.github.antiope-preview+json --tries=5 --waitretry=5 -O /tmp/checks.json https://api.github.com/repos/AnySoftKeyboard/AnySoftKeyboard/commits/${GITHUB_SHA}/check-suites