From c79b2337194f07e7a6b75fad896f77453f78eb0b Mon Sep 17 00:00:00 2001 From: "J. Secula" Date: Thu, 5 Jun 2025 10:07:17 +0200 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 35fe541..dd5c89a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,7 +33,12 @@ build-job: # This job runs in the build stage, which runs first. - apt-get update && apt-get install -y powershell - pwsh -Command {Install-Module ps2exe -Confirm:$False -Force} - pwsh -Command {ps2exe .\laps.ps1 -requireAdmin -noOutput -noError -title "LAPS" -description "Outil pour récupérer un mot de passe LAPS dans un Active Directory" -Company "Académie Nancy-Metz" -noconsole} - + artifacts: + when: on_success + access: all + paths: + - ./laps.exe + expire_in: 30 days deploy-job: # This job runs in the deploy stage. stage: deploy # It only runs when *both* jobs in the test stage complete successfully. environment: production