test
All checks were successful
/ debug (push) Successful in 39s

This commit is contained in:
lubiana 2024-12-14 18:53:31 +01:00
parent e12b759c3f
commit 933f6ecc10
6 changed files with 14 additions and 7 deletions

View file

@ -0,0 +1,11 @@
FROM alpine:latest
RUN apk add --no-cache \
openssh \
rsync \
git
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View file

@ -0,0 +1,7 @@
# Forgejo-Action for building hugo pages
This Action builds a hugo site and runs both gzip and brotli on static text files so a properly configured webbrowser can serve those precompressed files
The compression only works on files in the "public" folder of the actions workdir.

View file

@ -0,0 +1,5 @@
name: 'sleep'
despriction: 'sleep'
runs:
using: 'docker'
image: 'Dockerfile'

View file

@ -0,0 +1,13 @@
#!/bin/sh
apk add --no-cache \
brotli \
gzip \
hugo
echo 'hello'
hugo
sleep 3
exit 0