From d5e93973f384d7f664fc73b023486a82be07b118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BIDAULT?= Date: Mon, 18 Nov 2024 18:56:59 +0100 Subject: [PATCH] Deployment workflow PS 1.7.x --- .github/workflows/deploy.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fec30a8b6..9ec437d9b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,14 +17,12 @@ jobs: fail-fast: false matrix: env: - - lower: integration - triggered: ${{ contains(github.event.pull_request.labels.*.name, 'integration deployment') }} - - lower: preproduction - triggered: ${{ contains(github.event.pull_request.labels.*.name, 'preproduction deployment') }} + - integration + - preproduction outputs: integration: ${{ steps.zip-name.outputs.integration }} preproduction: ${{ steps.zip-name.outputs.preproduction }} - production: ps_checkout + production: ${{ github.event.repository.name }} steps: - name: Generate zip file name @@ -33,7 +31,7 @@ jobs: date=$(date -d '+2 hours' +'%Y-%m-%d_%H-%M-%S') echo "$ENV=$REPOSITORY-$PS_VERSION-$ENV-$PR_NUMBER-$date" >> "$GITHUB_OUTPUT" env: - ENV: ${{ matrix.env.lower }} + ENV: ${{ matrix.env }} REPOSITORY: ${{ github.event.repository.name }} PS_VERSION: ps7 PR_NUMBER: pr${{ github.event.number }}