diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | build.yml | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -4,4 +4,4 @@ build: go build -ldflags="-X 'main.Version=${VERSION}'" tar: build - XZ_OPT=-9 tar -cvf midr-${VERSION}.tar.xz midr templates/ + tar -cvf midr-${VERSION}.tar.xz midr templates/ @@ -1,5 +1,5 @@ # this build is meant to be submitted manually -image: fedora/36 +image: alpine/latest packages: - rsync - make @@ -14,13 +14,15 @@ secrets: environment: deploy: builds@gabrielgio.me target: artifacts.gabrielgio.me/midr + GOPROXY: direct + XZ_OPT: -9 tasks: - build: | cd midr make tar - deploy: | - cd jnfilter + cd midr sshopts="ssh -o StrictHostKeyChecking=no" rsync --rsh="$sshopts" -rP *.tar.xz $deploy:/var/www/$target |