diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2022-12-07 11:47:00 +0100 |
---|---|---|
committer | Corentin Noël <corentin.noel@collabora.com> | 2022-12-07 11:59:07 +0100 |
commit | 8522a7e6b1aa21e891f1aebb0e47c892f01888ec (patch) | |
tree | c249653ae3d74c105dea486781c23f37a3ac36cf | |
parent | 3c1bdd612d8cb954a17ce15d014d2e5ea93f8910 (diff) | |
download | gcr-tintou/test.tar.gz |
Testtintou/test
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 387d763..6f40f96 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -87,15 +87,14 @@ fedora:coverage: pages: image: fedora:latest stage: deploy - only: - - master needs: ['fedora:coverage'] before_script: - dnf upgrade -y - dnf install -y curl unzip script: - mkdir public - - 'curl --location --output gcr-3.zip "https://gitlab.gnome.org/api/v4/projects/${CI_PROJECT_ID}/jobs/artifacts/gnome-41-ci/download?job=fedora:coverage&job_token=${CI_JOB_TOKEN}"' + - 'curl --location --output gcr-3.zip --header "JOB-TOKEN: $CI_JOB_TOKEN" "https://gitlab.gnome.org/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/gnome-41-ci/download?job=fedora:coverage"' + - ls -ll gcr-3.zip - unzip -q gcr-3.zip -d gcr-3 - mv gcr-3/_build/docs/gck/gck-1 public/gck-1 - mv gcr-3/_build/docs/gcr/gcr-3 public/gcr-3 |