Skip to content

Commit e80169b

Browse files
0xquarkbari12
authored andcommitted
fix: update GitLab CI to explicitly copy site assets
Replace recursive copy with explicit file copying to avoid cp recursion errors. Now copies only assets/, images/, and *.html files to public directory. Refs: #75
1 parent 4b3fd9f commit e80169b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.gitlab-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ image: alpine:latest
55
pages:
66
stage: deploy
77
script:
8-
- cp -r . public
9-
- rm -rf public/.git public/.github public/.gitlab-ci.yml
8+
- mkdir public
9+
- cp -r assets public/
10+
- cp -r images public/
11+
- cp *.html public/
1012

1113
artifacts:
1214
paths:

0 commit comments

Comments
 (0)