Skip to content

Commit

Permalink
Quick fix: corrige la CI pour le site hugo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuclear-Squid committed Feb 28, 2024
1 parent 217674f commit ade2e98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Pandoc
run: sudo apt install pandoc
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -54,14 +56,14 @@ jobs:
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
hugo \
cd www && hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./public
path: ./www/public

# Deployment job
deploy:
Expand Down

0 comments on commit ade2e98

Please sign in to comment.