Commit 4ad3c37 1 parent 11abc79 commit 4ad3c37 Copy full SHA for 4ad3c37
File tree 1 file changed +11
-19
lines changed
1 file changed +11
-19
lines changed Original file line number Diff line number Diff line change @@ -32,32 +32,24 @@ jobs:
32
32
- name : Detect changes and run build
33
33
id : detect-changes
34
34
run : |
35
- # CHANGED_FILES=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }})
36
-
37
- # echo "Changed files: $CHANGED_FILES"
38
- # WEEKS=("week1" "week2")
39
-
40
- # for WEEK in "${WEEKS[@]}"; do
41
- # if [ -d "$WEEK" ]; then # 해당 주차 폴더가 존재하는지 확인
42
- # echo "Checking projects in $WEEK"
43
-
44
- # # 해당 주차 폴더 하위의 모든 프로젝트 폴더를 읽어서 순회
45
- # for PROJECT in $(ls -d $WEEK/*/); do
46
- # PROJECT=${PROJECT%/} # 디렉토리 이름에서 마지막 '/' 제거
47
- # if echo "$CHANGED_FILES" | grep -q "$PROJECT/"; then
48
- # echo "Running build for $PROJECT"
49
- # pnpm --filter "$PROJECT" build
50
- # fi
51
- # done
52
- # fi
53
- # done
54
35
pnpm build
55
36
56
37
- name : Create dynamic index.html
57
38
run : |
58
39
echo "Generating dynamic index.html"
59
40
node .scripts/index-page-builder.js
60
41
42
+ - name : Setup Pages
43
+ if : github.ref == 'refs/heads/main'
44
+ uses : actions/configure-pages@v3
45
+
46
+ - name : Upload Artifact
47
+ if : github.ref == 'refs/heads/main'
48
+ uses : actions/upload-pages-artifact@v1
49
+ with :
50
+ # location of the coverage artifacts
51
+ path : " ./coverage"
52
+
61
53
deploy-coverage :
62
54
if : github.ref == 'refs/heads/main'
63
55
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments