Skip to content

Commit 6609f5b

Browse files
test
1 parent 7fc4cc2 commit 6609f5b

2 files changed

Lines changed: 6 additions & 54 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ name: Deploy Hugo site to Pages
44
on:
55
# Runs on pushes targeting the default branch
66
push:
7-
branches: ["main"]
7+
branches:
8+
- main
89

910
# Allows you to run this workflow manually from the Actions tab
1011
workflow_dispatch:
@@ -36,13 +37,14 @@ jobs:
3637
- name: Install Hugo CLI
3738
run: |
3839
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
39-
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
40+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
4041
- name: Install Dart Sass
4142
run: sudo snap install dart-sass
4243
- name: Checkout
4344
uses: actions/checkout@v4
4445
with:
4546
submodules: recursive
47+
fetch-depth: 0
4648
- name: Setup Pages
4749
id: pages
4850
uses: actions/configure-pages@v5
@@ -55,8 +57,9 @@ jobs:
5557
HUGO_ENV: production
5658
run: |
5759
hugo \
60+
--gc \
5861
--minify \
59-
--baseURL "${{ steps.pages.outputs.base_url }}/"
62+
--baseURL "${{ steps.pages.outputs.base_url }}/"
6063
- name: Upload artifact
6164
uses: actions/upload-pages-artifact@v3
6265
with:

.github/workflows/jekyll-gh-pages.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)