~nhanb/fundoshi

5e1633d276c245fce06fe0fc68b95970023d3efa — Nhan 1 year, 7 months ago d22a77f v0.0.12a1
use secret
1 files changed, 11 insertions(+), 8 deletions(-)

M .build.yml
M .build.yml => .build.yml +11 -8
@@ 17,14 17,17 @@ tasks:
      cd fundoshi
      make test

  # Workaround for lack of built-in branch check:
  # https://todo.sr.ht/~sircmpwn/builds.sr.ht/170
  - check-branch: |
      cd fundoshi
      if [ "$(git rev-parse reorg)" != "$(git rev-parse HEAD)" ]; then \
        complete-build; \
      fi
  ## Workaround for lack of built-in branch check:
  ## https://todo.sr.ht/~sircmpwn/builds.sr.ht/170
  #- check-branch: |
      #cd fundoshi
      #if [ "$(git rev-parse reorg)" != "$(git rev-parse HEAD)" ]; then \
        #complete-build; \
      #fi

  - deploy: |
      cd fundoshi
      poetry publish --build
      echo "$GITHUB_REF" \| grep '^refs/tags/' && echo "I'm DEPLOYING"

secrets:
  - b460cca6-77a9-4041-b928-b781b3b3f6ab