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

This commit is contained in:
Jonas 2024-12-13 12:55:42 +01:00
parent 3a14c911e6
commit 4e21206abb
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
5 changed files with 25 additions and 2 deletions

View file

@ -5,5 +5,5 @@ jobs:
name: debug
steps:
- uses: actions/checkout@v4
- name: hugo
uses: ./actions/hugo
- name: sleep
uses: ./actions/sleep

7
actions/sleep/Dockerfile Normal file
View file

@ -0,0 +1,7 @@
FROM alpine:latest
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

7
actions/sleep/README.md Normal file
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.

5
actions/sleep/action.yml Normal file
View file

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

View file

@ -0,0 +1,4 @@
#!/bin/sh
sleep 3
exit 0