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 a256d4f commit 58021c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:
COMMIT_MESSAGE=$(git log --format=%B -n 1 ${{ github.event.after }})
if [[ "$COMMIT_MESSAGE" == *"[prod:meteo]"* ]]; then
echo "Setting output to true for meteo"
echo "should-run=true" >> $GITHUB_ENV
echo "::set-output name=should_run::true"
elif [[ "$COMMIT_MESSAGE" == *"[prod:ecologie]"* ]]; then
echo "Setting output to true for ecologie"
echo "should-run=true" >> $GITHUB_ENV
echo "::set-output name=should_run::true"
else
echo "No relevant commit message found, not running further jobs."
echo "should-run=false" >> $GITHUB_ENV
echo "::set-output name=should_run::false"
fi
trigger-gitlab-pipeline:
needs: check-commit-message
if: needs.check-commit-message.outputs.should-run == 'true'
if: needs.check-commit-message.outputs.should_run == 'true'
runs-on: ubuntu-latest
env:
GITLAB_API_TOKEN: ${{ secrets.GITLAB_API_TOKEN }}
Expand Down

0 comments on commit 58021c0

Please sign in to comment.