~nhanb/fundoshi

99b26b6533482556adbcbfabdf8cd4d47d758293 — Nhan 1 year, 7 months ago d22a77f v0.0.12a0
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/' && poetry publish --build

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