This commit is contained in:
@ -7,24 +7,19 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: 'linux_amd64' # Try using standard labels instead of hostname
|
runs-on: 'linux_amd64'
|
||||||
container:
|
|
||||||
image: klakegg/hugo:ext-ubuntu-latest
|
|
||||||
steps:
|
steps:
|
||||||
- name: Debug Runner Info
|
|
||||||
run: |
|
|
||||||
echo "Runner environment:"
|
|
||||||
env
|
|
||||||
echo "Current directory:"
|
|
||||||
pwd
|
|
||||||
echo "Docker info:"
|
|
||||||
docker info || echo "Docker not available"
|
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Install Hugo
|
||||||
|
run: |
|
||||||
|
HUGO_VERSION=0.121.1
|
||||||
|
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb
|
||||||
|
sudo dpkg -i hugo_extended_${HUGO_VERSION}_linux-amd64.deb
|
||||||
|
|
||||||
- name: Build site
|
- name: Build site
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
env:
|
env:
|
||||||
|
Reference in New Issue
Block a user