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