This commit is contained in:
parent
651129d49b
commit
6bca579431
3 changed files with 6 additions and 3 deletions
|
@ -10,7 +10,7 @@ jobs:
|
||||||
runs-on: hugo-latest
|
runs-on: hugo-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Grab packages
|
- name: Grab packages
|
||||||
run: apk add rsync
|
run: apk add rsync openssh-client
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Run build task
|
- name: Run build task
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -12,3 +12,6 @@ hugo.linux
|
||||||
|
|
||||||
# Temporary lock file while building
|
# Temporary lock file while building
|
||||||
/.hugo_build.lock
|
/.hugo_build.lock
|
||||||
|
|
||||||
|
# Local Act
|
||||||
|
act.yaml
|
|
@ -5,7 +5,7 @@ python3 -m http.server $PORT --directory public/ &
|
||||||
SERVER_PID=$!
|
SERVER_PID=$!
|
||||||
|
|
||||||
# Give it a moment to start
|
# Give it a moment to start
|
||||||
sleep 5
|
sleep 2
|
||||||
|
|
||||||
# Check if the server is running
|
# Check if the server is running
|
||||||
if [ ! -d "/proc/$SERVER_PID" ]; then
|
if [ ! -d "/proc/$SERVER_PID" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue