parent
3a14c911e6
commit
4e21206abb
5 changed files with 25 additions and 2 deletions
|
@ -5,5 +5,5 @@ jobs:
|
||||||
name: debug
|
name: debug
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: hugo
|
- name: sleep
|
||||||
uses: ./actions/hugo
|
uses: ./actions/sleep
|
||||||
|
|
7
actions/sleep/Dockerfile
Normal file
7
actions/sleep/Dockerfile
Normal 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
7
actions/sleep/README.md
Normal 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
5
actions/sleep/action.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
name: 'sleep'
|
||||||
|
despriction: 'sleep'
|
||||||
|
runs:
|
||||||
|
using: 'docker'
|
||||||
|
image: 'Dockerfile'
|
4
actions/sleep/entrypoint.sh
Normal file
4
actions/sleep/entrypoint.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
sleep 3
|
||||||
|
exit 0
|
Loading…
Add table
Reference in a new issue