Skip to content

Commit

Permalink
Bump hugo version and create public dir if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Dec 4, 2023
1 parent f09db31 commit 43ee336
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.76.5'
hugo-version: '0.120.4'

- name: Build the website
run: ./scripts/build_website.sh
Expand Down
1 change: 1 addition & 0 deletions scripts/build_website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ fi

echo "Using BASE_URL=$BASE_URL"
npm install
mkdir -p public/
hugo --minify --buildDrafts --baseUrl="$BASE_URL"
cp static/googlec8ce605468a38232.html public/
cp static/robots.txt public/
Expand Down

0 comments on commit 43ee336

Please sign in to comment.