EN · DE · RU · FR · ES

#2 : github-pages.yml

.github/workflows/github-pages.yml Configuration CI, .github/workflows/github-pages.yml 35 lignes · 27 code · 3 commentaires · 5 vides
Workflow GitHub Actions pour publier le site basé sur Jekyll vers GitHub Pages. Déclenché lors des pushes sur `develop` qui modifient `site/**`. Utilise `helaili/jekyll-action@v2` pour construire et déployer vers la branche `gh-pages`.

Architecture

Déclencheurs

Tâches

Étapes

  1. actions/checkout@v3 — Vérifier le dépôt
  2. actions/cache@v3 — Mettre en cache les gems Ruby (vendor/bundle)
  3. helaili/jekyll-action@v2 — Construire le site Jekyll depuis le répertoire site/
  4. helaili/jekyll-action@v2 — Déployer vers la branche gh-pages

Dépendances

ActionVersionObjectif
actions/checkoutv3Vérification du dépôt
actions/cachev3Mise en cache des dépendances
helaili/jekyll-actionv2Construction et déploiement Jekyll

Historique Git

738634e82 Github action : github-pages.yml mis à jour.
ebb1d05f1 github actions.
9ea0494a2 WIP : github actions.
5b122e8db github-pages.yml : fonctionne maintenant sur la nouvelle branche github-pages au lieu de develop.
ada5ea6f8 jekyll-src sur github actions.
38d027084 Github actions pour le nouveau site web.