ci: use Hugo extended
All checks were successful
Deploy / build (push) Successful in 16s
Deploy / deploy (push) Successful in 9s

This commit is contained in:
Aloïs Micard 2024-12-23 13:01:56 +01:00
parent cb29f90c69
commit 3df071522e

View file

@ -15,13 +15,13 @@ jobs:
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: hugo path: hugo
key: ${{ runner.os }}-hugo key: ${{ runner.os }}-hugo-extended
- name: Download Hugo - name: Download Hugo
if: steps.cache-hugo.outputs.cache-hit != 'true' if: steps.cache-hugo.outputs.cache-hit != 'true'
run: | 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 curl -L -o hugo_extended_0.140.0_linux-amd64.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.140.0/hugo_extended_0.140.0_linux-amd64.tar.gz
tar zxvf hugo_0.140.0_linux-amd64.tar.gz tar zxvf hugo_extended_0.140.0_linux-amd64.tar.gz
- name: Build website - name: Build website
run: ./hugo run: ./hugo
@ -45,4 +45,4 @@ jobs:
apt install -y lftp apt install -y lftp
- name: Deploy website - name: Deploy website
run: lftp -c "open -u ${{ secrets.FTP_USER }},${{ secrets.FTP_PASS }} ${{ secrets.FTP_HOST }}; mirror -R . ~/${{ secrets.FTP_DIR }}; quit" run: lftp -c "open -u ${{ secrets.FTP_USER }},${{ secrets.FTP_PASS }} ${{ secrets.FTP_HOST }}; mirror -R . ~/${{ secrets.FTP_DIR }}; quit"