Merge pull request #31 from sebdraven/BartM82-patch-13 #52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
# Initialisez les sous-modules et mettez-les à jour récursivement | |
submodules: 'recursive' | |
- name: Build Hugo site | |
uses: docker://klakegg/hugo # Remplacez par la version de Hugo que vous souhaitez utiliser | |
with: | |
args: "--minify --destination public" | |
- name: Archive Production Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: hugo-site | |
path: public/ |