From 11bf4990bfd39b83e9806cf48e278215ec078bda Mon Sep 17 00:00:00 2001 From: Neshura Date: Sun, 26 Feb 2023 23:37:02 +0100 Subject: [PATCH] Reduced Artifact contents to minimum --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0a3b0f5..63effe3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,10 +29,14 @@ build: after_script: - echo JOB_ID=$CI_JOB_ID >> job.env + - mkdir /artifacts + - cp /builds/Neshura/cloudflare-dns-updater/target/release/cloudflare-dns-updater /artifacts + - cp /builds/Neshura/cloudflare-dns-updater/config.json /artifacts + - cp /builds/Neshura/cloudflare-dns-updater/api-key-empty.js /artifacts/api-key.json artifacts: paths: - - /builds/Neshura/cloudflare-dns-updater + - /artifacts reports: dotenv: job.env @@ -54,6 +58,6 @@ Tag Release: description: '$CI_COMMIT_TAG' assets: links: - - name: "cloudflare-dns-updater" + - name: "cloudflare-dns-updater.zip" url: "https://gitlab.neshweb.net/Neshura/cloudflare-dns-updater/-/jobs/$JOB_ID/artifacts/download" \ No newline at end of file