diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | build.yml | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -4,4 +4,6 @@ build: go build -ldflags="-X 'main.Version=${VERSION}'" tar: build - tar -cvf midr-${VERSION}.tar.xz midr templates/ + git archive \ + -o midr-${VERSION}.tar.gz \ + --prefix=midr-${VERSION}/ HEAD @@ -13,7 +13,7 @@ secrets: environment: deploy: builds@gabrielgio.me - target: artifacts.gabrielgio.me/midr + target: artifacts.gabrielgio.me/midr/ GOPROXY: direct XZ_OPT: -9 @@ -26,4 +26,3 @@ tasks: sshopts="ssh -o StrictHostKeyChecking=no" rsync --rsh="$sshopts" -rP *.tar.xz $deploy:/var/www/$target - |