diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb04588f96f9ad7b0c5121bf38c59f3dbb3eb1a6..9e3a4a3077d73c4c423ab3821a5737ab71c459b2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,9 @@ +workflow: + rules: + - if: '$CI_COMMIT_MESSAGE =~ /skip-ci-pdf/' + when: never + - when: always + stages: - convert @@ -13,6 +19,17 @@ convert_modified_md: echo "변환 중: $file" python MDtoPDF.py "$file" done + - git config --global user.email "gabang002@gmail.com" + - git config --global user.name "장명현" + - git checkout "$CI_COMMIT_BRANCH" + - git add *.pdf *.html + - | + if ! git diff --cached --quiet; then + git commit -m "auto-generate HTML/PDF [skip-ci-pdf]" + git push "https://$CI_PUSH_USER:$CI_PUSH_TOKEN@gitlab.com/$CI_PROJECT_PATH.git" + else + echo "변경사항 없음, 커밋 생략" + fi artifacts: paths: - "*.pdf" diff --git a/ex1.md b/ex1.md deleted file mode 100644 index fbec7450583b13312d284c6eb15c2733ef589c0a..0000000000000000000000000000000000000000 --- a/ex1.md +++ /dev/null @@ -1,29 +0,0 @@ -# ✨ My Awesome Project - -Welcome to **My Awesome Project** – a small but powerful app that helps you stay focused and get things done. - ---- - -## 🚀 Features - -- ✅ Minimal UI, maximum productivity -- 🕒 Pomodoro Timer built-in -- ☁️ Cloud sync support (via Firebase) -- 🎨 Custom themes (Light/Dark/Colorful) -- 📈 Analytics to track focus trends - ---- - -## 📸 Screenshot - - - ---- - -## 🔧 Technologies Used - -```bash -Frontend: React + TypeScript -Backend: Firebase Functions -Styling: Tailwind CSS -State: Redux Toolkit