Skip to content

Commit

Permalink
[prod:ecologie] test
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreyaldebert committed Mar 22, 2024
1 parent b7916f8 commit a256d4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/create-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ jobs:
COMMIT_MESSAGE=$(git log --format=%B -n 1 ${{ github.sha }})
if [[ "$COMMIT_MESSAGE" == *"[prod:meteo]"* ]]; then
echo "ENV_FILE=.env.meteo" >> $GITHUB_ENV
echo "APP_NAME=meteo" >> $GITHUB_ENV
elif [[ "$COMMIT_MESSAGE" == *"[prod:ecologie]"* ]]; then
echo "ENV_FILE=.env.ecologie" >> $GITHUB_ENV
echo "APP_NAME=ecologie" >> $GITHUB_ENV
else
echo "ENV_FILE not set due to no specific keywords found in the commit message."
fi
Expand All @@ -53,5 +55,5 @@ jobs:
shell: bash
run: |
RELEASE_VERSION="${GITHUB_SHA:0:8}"
./scripts/gitlab-ci-pipeline.sh ${{ env.REPO_PUBLIC_URL }} ${{ vars.APP_NAME }} $RELEASE_VERSION $ENV_FILE
./scripts/gitlab-ci-pipeline.sh ${{ env.REPO_PUBLIC_URL }} ${{ env.APP_NAME }} $RELEASE_VERSION $ENV_FILE
working-directory: ${{ env.SCAFFOLD_DIR }}

0 comments on commit a256d4f

Please sign in to comment.