~ni/nxt-python

0b38c4337fbffaedc451df5b63ee4851051087dd — Nicolas Schodet 2 months ago 1bb72dd
Do not upload doc when not on master branch
1 files changed, 5 insertions(+), 1 deletions(-)

M .builds/debian.yml
M .builds/debian.yml => .builds/debian.yml +5 -1
@@ 24,4 24,8 @@ tasks:
      cd nxt-python
      python3 setup.py install --user
  - upload: |
      acurl -f https://pages.sr.ht/publish/$site/nxt-python -Fcontent=@nxt-python.tar.gz
      cd nxt-python
      # Only on master branch.
      if [ "$(git rev-parse master)" = "$(git rev-parse HEAD)" ]; then \
        acurl -f https://pages.sr.ht/publish/$site/nxt-python -Fcontent=@../nxt-python.tar.gz; \
      fi