Update .gitlab-ci.yml file
This commit is contained in:
@ -31,8 +31,8 @@ build-job: # This job runs in the build stage, which runs first.
|
|||||||
- wget -q https://packages.microsoft.com/config/ubuntu/$VERSION_ID/packages-microsoft-prod.deb
|
- wget -q https://packages.microsoft.com/config/ubuntu/$VERSION_ID/packages-microsoft-prod.deb
|
||||||
- dpkg -i packages-microsoft-prod.deb
|
- dpkg -i packages-microsoft-prod.deb
|
||||||
- apt-get update && apt-get install -y powershell
|
- apt-get update && apt-get install -y powershell
|
||||||
- powershell Install-Module ps2exe -Confirm:$False -Force
|
- pwsh Install-Module ps2exe -Confirm:$False -Force
|
||||||
- powershell 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
|
- pwsh 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
|
||||||
|
|
||||||
deploy-job: # This job runs in the deploy stage.
|
deploy-job: # This job runs in the deploy stage.
|
||||||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
|
|||||||
Reference in New Issue
Block a user