diff --git a/.github/workflows/k3s-prod.yaml b/.github/workflows/k3s-prod.yaml index 90f12a58..773a90d2 100644 --- a/.github/workflows/k3s-prod.yaml +++ b/.github/workflows/k3s-prod.yaml @@ -40,26 +40,27 @@ jobs: - name: Detect Changed Modules id: detect-changes run: | - CHANGED_MODULES="" + CHANGED_MODULES="" - if [[ $(git diff --name-only HEAD^ HEAD) =~ ^layer-api/ ]]; then - if [ -z "$CHANGED_MODULES" ]; then - CHANGED_MODULES="layer-api" - else - CHANGED_MODULES="$CHANGED_MODULES,layer-api" - fi - fi - - if [[ $(git diff --name-only HEAD^ HEAD) =~ ^layer-batch/ ]]; then - if [ -z "$CHANGED_MODULES" ]; then - CHANGED_MODULES="layer-batch" - else - CHANGED_MODULES="$CHANGED_MODULES,layer-batch" - fi - fi - - echo "changed_modules=$CHANGED_MODULES" - echo "changed_modules=$CHANGED_MODULES" >> $GITHUB_OUTPUT + # if [[ $(git diff --name-only HEAD^ HEAD) =~ ^layer-api/ ]]; then + # if [ -z "$CHANGED_MODULES" ]; then + # CHANGED_MODULES="layer-api" + # else + # CHANGED_MODULES="$CHANGED_MODULES,layer-api" + # fi + # fi + # + # if [[ $(git diff --name-only HEAD^ HEAD) =~ ^layer-batch/ ]]; then + # if [ -z "$CHANGED_MODULES" ]; then + # CHANGED_MODULES="layer-batch" + # else + # CHANGED_MODULES="$CHANGED_MODULES,layer-batch" + # fi + # fi + CHANGED_MODULES="layer-batch,layer-api" + + echo "changed_modules=$CHANGED_MODULES" + echo "changed_modules=$CHANGED_MODULES" >> $GITHUB_OUTPUT build: name: build