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 a6fb53e commit f1a3ccf
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 @@ -8,7 +8,7 @@ jobs:
check-commit-message:
runs-on: ubuntu-latest
outputs:
should_run: ${{ steps.condition_check.outputs.should_run }}
should_run: ${{ steps.check-commit.outputs.should_run }}
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -18,13 +18,13 @@ 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_OUTPUT
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_OUTPUT
echo "::set-output name=should_run::true"
else
echo "No relevant commit message found, not running further jobs."
echo "should_run=true" >> $GITHUB_OUTPUT
echo "::set-output name=should_run::false"
fi
trigger-gitlab-pipeline:
needs: check-commit-message
Expand Down

0 comments on commit f1a3ccf

Please sign in to comment.