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 f1a3ccf commit fff4539
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ 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
echo "APP_NAME=defis" >> $GITHUB_ENV
elif [[ "$COMMIT_MESSAGE" == *"[prod:ecologie]"* ]]; then
echo "ENV_FILE=.env.ecologie" >> $GITHUB_ENV
echo "APP_NAME=ecologie" >> $GITHUB_ENV
echo "APP_NAME=defis" >> $GITHUB_ENV
else
echo "ENV_FILE not set due to no specific keywords found in the commit message."
fi
echo "REPO_PUBLIC_URL=${{ github.server_url }}/${{ github.repository }}.git" >> $GITHUB_ENV
echo "SCAFFOLD_DIR=scaffold" >> $GITHUB_ENV
- name: clone scaffold repository
shell: bash
run: git clone --depth 1 https://oauth2:$GITLAB_API_TOKEN@${{ vars.SCAFFOLD_REPO_PUBLIC_URL }} ${{ env.SCAFFOLD_DIR }}
run: git clone --depth 1 https://oauth2:$GITLAB_API_TOKEN@${{ vars.SCAFFOLD_REPO_PUBLIC_URL }} -b test-udata-front-kit ${{ env.SCAFFOLD_DIR }}
- name: trigger Gitlab CI/CD pipeline
shell: bash
run: |
Expand Down

0 comments on commit fff4539

Please sign in to comment.