Initial commit: Hugo blog with PaperMod theme
All checks were successful
Build and Deploy Hugo Blog / build (push) Successful in 5m0s

This commit is contained in:
2025-12-19 22:23:05 +01:00
commit ea2e510e17
11 changed files with 229 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
name: Build and Deploy Hugo Blog
on:
push:
branches:
- master
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Build site
run: hugo --minify
- name: Deploy to hosting
run: |
# À adapter selon votre hébergement
# Exemple avec rsync ou autre solution
echo "Deploy step"