Work on CI/CD
All checks were successful
Deploy / build (push) Successful in 9s
Deploy / deploy (push) Successful in 7s

This commit is contained in:
Aloïs Micard 2024-12-23 12:56:45 +01:00
parent a53ca307a1
commit d4bba52b15

View file

@ -10,12 +10,20 @@ jobs:
submodules: true
fetch-depth: 0
- name: Setup Hugo
- name: Cache Hugo binary
id: cache-hugo
uses: actions/cache@v4
with:
path: hugo
key: ${{ runner.os }}-hugo
- name: Download Hugo
if: steps.cache-hugo.outputs.cache-hit != 'true'
run: |
curl -L -o hugo_0.140.0_linux-amd64.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.140.0/hugo_0.140.0_linux-amd64.tar.gz
tar zxvf hugo_0.140.0_linux-amd64.tar.gz
- name: Build
- name: Build website
run: ./hugo
- name: Upload artifact