Skip to content

Commit

Permalink
github: revert back to built-in hugo
Browse files Browse the repository at this point in the history
[deploy]
- Based on gohugoio/hugo@aaf2e96
- Keep amd64 instead

Signed-off-by: Khusika Dhamar Gusti <mail@khusika.dev>
  • Loading branch information
khusika committed Jun 16, 2023
1 parent 28fcd1c commit 728b9d1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/page-deploy.yaml
Expand Up @@ -16,12 +16,12 @@ jobs:
submodules: true
fetch-depth: 0

- name: Install Hugo CLI
env:
HUGO_VERSION: 0.113.0
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 Hugo CLI
# env:
# HUGO_VERSION: 0.113.0
# 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: Build Page
env:
Expand Down
Binary file added bin/amd64/hugo
Binary file not shown.
2 changes: 0 additions & 2 deletions content/posts/webp-image-processing-in-hugo/index.en.md
Expand Up @@ -50,6 +50,4 @@ in Hugo 0.82 and later, [`media.Types`](https://github.com/gohugoio/hugo/commit/

{{< admonition info "Pre-built Hugo Binaries" false >}}
[:(far fa-file-archive fa-fw): hugo.bin](https://github.com/khusika/khusika.github.io/raw/master/bin/amd64/hugo) - _linux/amd64 extended version_

[:(far fa-file-archive fa-fw): hugo.bin](https://github.com/khusika/khusika.github.io/raw/master/bin/arm64/hugo) - _linux/arm64 extended version_
{{</ admonition >}}
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -5,8 +5,8 @@
"scripts": {
"reinstall": "rm -rf node_modules && npm ci",
"buildjs": "mkdir -p assets/js && sed '94,309d;467,589d;593,597d;615,636d;639,642d;696,697d;716d;722,727d' themes/FeelIt/assets/js/theme.js > assets/js/theme.js",
"debug": "npm run buildjs && hugo server --gc -D --environment production",
"deploy": "npm run buildjs && rm -f -r docs && hugo --gc --minify -d docs && npm run purgecss && npm run purgefont && rm -f -r ./docs/lib/katex",
"debug": "npm run buildjs && ./bin/$(go env GOARCH)/hugo server --gc -D --environment production",
"deploy": "npm run buildjs && rm -f -r docs && ./bin/$(go env GOARCH)/hugo --gc --minify -d docs && npm run purgecss && npm run purgefont && rm -f -r ./docs/lib/katex",
"purgecss": "npx purgecss --config ./purgecss.config.js -o './docs/css/'",
"purgefont": "npx purgecss --config ./purgefont.config.js -o './docs/lib/fontawesome-free/all.min.css'"
}
Expand Down

0 comments on commit 728b9d1

Please sign in to comment.