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 ...@@ -348,8 +348,8 @@ This can be achieved by including a `script:` command like this in your
pages: pages:
# Other directives # Other directives
script: script:
- # build the public/ directory first # Build the public/ directory first
- find public -type f -iregex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -execdir gzip -f --keep {} \; - 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 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