Skip to content

Commit 02d56aa

Browse files
authored
Merge pull request #2 from karadHub/dev
Enhance Python testing framework and CI/CD integration for DevOps
2 parents ced6366 + 0f5f4da commit 02d56aa

17 files changed

Lines changed: 5191 additions & 31 deletions

.gitattributes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
*.md linguist-detectable=true
4+
*.sh linguist-language=Shell
5+
*.py linguist-language=Python
6+
*.yaml linguist-language=YAML
7+
*.yml linguist-language=YAML
8+
*.ini linguist-language=INI
9+
*.json linguist-language=JSON
10+
*.xml linguist-language=XML
11+
*.html linguist-language=HTML
12+
*.css linguist-language=CSS
13+
*.js linguist-language=JavaScript
14+
*.ts linguist-language=TypeScript

.github/workflows/jekyll-gh-pages.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,26 @@ jobs:
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0 # Fetch full history for better Jekyll builds
33+
3134
- name: Setup Pages
3235
uses: actions/configure-pages@v5
36+
37+
- name: Setup Ruby
38+
uses: ruby/setup-ruby@v1
39+
with:
40+
ruby-version: "3.1"
41+
bundler-cache: true # runs 'bundle install' and caches installed gems
42+
3343
- name: Build with Jekyll
3444
uses: actions/jekyll-build-pages@v1
3545
with:
3646
source: ./
3747
destination: ./_site
48+
env:
49+
JEKYLL_ENV: production
50+
3851
- name: Upload artifact
3952
uses: actions/upload-pages-artifact@v3
4053

@@ -49,3 +62,16 @@ jobs:
4962
- name: Deploy to GitHub Pages
5063
id: deployment
5164
uses: actions/deploy-pages@v4
65+
66+
- name: Deployment Summary
67+
if: success()
68+
run: |
69+
echo "🚀 Deployment successful!"
70+
echo "📝 Site URL: ${{ steps.deployment.outputs.page_url }}"
71+
echo "⏰ Deployed at: $(date)"
72+
73+
- name: Deployment Failed
74+
if: failure()
75+
run: |
76+
echo "❌ Deployment failed!"
77+
echo "Please check the logs above for details."

0 commit comments

Comments
 (0)