From a1af9cc6b10e4afd4aa0b7860fceed6aa44bb3d9 Mon Sep 17 00:00:00 2001 From: Al Abadi Date: Sun, 10 Apr 2022 21:52:41 +1000 Subject: [PATCH] wip: cicd: change debug code skip-ci --- .github/workflows/push2bioc.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push2bioc.yml b/.github/workflows/push2bioc.yml index cc2b1e96..909a991a 100644 --- a/.github/workflows/push2bioc.yml +++ b/.github/workflows/push2bioc.yml @@ -29,15 +29,15 @@ jobs: git config user.name 'Al J Abadi' git config user.email 'al.jal.abadi@gmail.com' git remote add bioc git@git.bioconductor.org:packages/mixOmics.git + git fetch bioc # for logs in case of failure current_branch=${{ github.ref_name }} #--- debug - git checkout -b biocmaster - git reset --hard bioc/master + git branch biocmaster bioc/master + git checkout biocmaster git log -10 --oneline git log biocmaster..$current_branch --pretty=format:"%s" #--- fetch & push echo $current_branch - git fetch bioc # for logs in case of failure git push bioc $current_branch:$current_branch env: SSH_KEY: ${{ secrets.PRIVATE_SSH_KEY_AL }}