~xigoi/matext

d566fb65c61bdae1fa886b6e8028b7234f7b67e2 — Adam Blažek 3 months ago dbf8f6a
Improved build script
1 files changed, 4 insertions(+), 4 deletions(-)

M .build.yml
M .build.yml => .build.yml +4 -4
@@ 9,8 9,8 @@ tasks:
  - test: |
      cd matext
      nimble test -y
  - package: |
      cd matext/site
      tar -cvz . > ../../site.tar.gz
  - upload: |
      hut pages publish -d xigoi.srht.site -s matext site.tar.gz
      if test "$(git -C matext rev-parse HEAD)" = "$(git -C matext rev-parse master)"; then
        tar -cvzC matext/site . -f site.tar.gz
        hut pages publish -d xigoi.srht.site -s matext site.tar.gz
      fi