diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-07-22 16:11:20 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-07-22 16:11:20 +0200 |
commit | dc81e33f760b45778f2646d6f1a7c9e8166b2fe5 (patch) | |
tree | 4f1abddb72d41f09102e5621f0ccc5ec9a4b42b5 | |
parent | c430ebff167dcfc073c1c6a3375d6284936218a7 (diff) | |
download | mdir-dc81e33f760b45778f2646d6f1a7c9e8166b2fe5.tar.gz mdir-dc81e33f760b45778f2646d6f1a7c9e8166b2fe5.tar.bz2 mdir-dc81e33f760b45778f2646d6f1a7c9e8166b2fe5.zip |
ref: Move env var
Move enviroment variables to the build manifest.
-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 |