Skip to content

Commit

Permalink
Deployment workflow PS 1.7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
seiwan committed Nov 18, 2024
1 parent 8df04ee commit d5e9397
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit d5e9397

Please sign in to comment.