This commit is contained in:
@ -7,24 +7,19 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: 'linux_amd64' # Try using standard labels instead of hostname
|
||||
container:
|
||||
image: klakegg/hugo:ext-ubuntu-latest
|
||||
runs-on: 'linux_amd64'
|
||||
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
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
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
|
||||
run: hugo --minify
|
||||
env:
|
||||
|
Reference in New Issue
Block a user