trying hugo-latest instead of ubuntu with package installs on start
Some checks failed
Hugo / build (push) Failing after 6s
Some checks failed
Hugo / build (push) Failing after 6s
This commit is contained in:
parent
c18a7a9b54
commit
823b0eb8cf
1 changed files with 2 additions and 9 deletions
|
@ -5,17 +5,10 @@ on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-22.04
|
runs-on: hugo-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Grab packages
|
|
||||||
run: |
|
|
||||||
apt-get update && \
|
|
||||||
apt-get install -y jq rsync tar wget && \
|
|
||||||
wget https://github.com/gohugoio/hugo/releases/download/v0.123.6/hugo_extended_0.123.6_linux-amd64.tar.gz && \
|
|
||||||
tar -xzvf hugo_extended_0.123.6_linux-amd64.tar.gz && \
|
|
||||||
chmod +x hugo
|
|
||||||
- name: Run build task
|
- name: Run build task
|
||||||
run: ./hugo --minify --logLevel info
|
run: ./hugo --minify --logLevel info
|
||||||
- name: Test static page
|
- name: Test static page
|
||||||
|
|
Loading…
Add table
Reference in a new issue