Reduced Artifact contents to minimum

This commit is contained in:
Neshura 2023-02-26 23:37:02 +01:00
parent b67b8b05e4
commit 11bf4990bf
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A

View file

@ -29,10 +29,14 @@ build:
after_script: after_script:
- echo JOB_ID=$CI_JOB_ID >> job.env - 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: artifacts:
paths: paths:
- /builds/Neshura/cloudflare-dns-updater - /artifacts
reports: reports:
dotenv: job.env dotenv: job.env
@ -54,6 +58,6 @@ Tag Release:
description: '$CI_COMMIT_TAG' description: '$CI_COMMIT_TAG'
assets: assets:
links: links:
- name: "cloudflare-dns-updater" - name: "cloudflare-dns-updater.zip"
url: "https://gitlab.neshweb.net/Neshura/cloudflare-dns-updater/-/jobs/$JOB_ID/artifacts/download" url: "https://gitlab.neshweb.net/Neshura/cloudflare-dns-updater/-/jobs/$JOB_ID/artifacts/download"