Skip to content

Commit

Permalink
test triggering
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanguedj committed Nov 29, 2024
1 parent cff972a commit 5da3e3f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/create-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ run-name: create and deploy ${{ github.sha }}
on:
push:
branches:
- main
- create-deploy-release
jobs:
trigger-gitlab-pipeline:
runs-on: ubuntu-latest
Expand All @@ -30,9 +30,9 @@ jobs:
git config --global user.name "datagouv"
# set ENV based on branch
if [ "$GITHUB_REF" = "refs/heads/main" ]; then
echo "ENV=dev" >> $GITHUB_ENV
fi
#if [ "$GITHUB_REF" = "refs/heads/create-relase-version" ]; then
echo "ENV=dev" >> $GITHUB_ENV
#fi
- name: clone scaffold repository
shell: bash
run: |
Expand All @@ -42,5 +42,6 @@ jobs:
run: |
RELEASE_VERSION="${GITHUB_SHA:0:8}"
./scripts/gitlab-ci-pipeline.sh $APP_NAME $RELEASE_VERSION $ENV ""
echo $APP_NAME
echo ./scripts/gitlab-ci-pipeline.sh $APP_NAME $RELEASE_VERSION $ENV ""
working-directory: ${{ env.SCAFFOLD_DIR }}

0 comments on commit 5da3e3f

Please sign in to comment.