Commit d50acd1c authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Change find flags to also work with Alpine

parent 8548c3c9
......@@ -348,8 +348,8 @@ This can be achieved by including a `script:` command like this in your
pages:
# Other directives
script:
- # build the public/ directory first
- find public -type f -iregex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -execdir gzip -f --keep {} \;
# Build the public/ directory first
- find public -type f -regex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -exec gzip -f -k {} \;
```
By pre-compressing the files and including both versions in the artifact, Pages
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment