Skip to content

Commit

Permalink
chore: 파이프라인테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondanythings committed Aug 31, 2024
1 parent ea34f28 commit 2ffd3d9
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions .github/workflows/k3s-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ffd3d9

Please sign in to comment.