diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-02-11 18:19:28 +0100 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-02-11 18:19:28 +0100 |
commit | d50acd1cc6e0942ad8c29279e0d8a7615b05813e (patch) | |
tree | 44d906776cda762220d07f79a04270455bc2cdfd | |
parent | 8548c3c98a10c21effd5f7b715bafbef3c4a9e4d (diff) | |
download | gitlab-ce-d50acd1cc6e0942ad8c29279e0d8a7615b05813e.tar.gz |
Change find flags to also work with Alpine
-rw-r--r-- | doc/user/project/pages/introduction.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/user/project/pages/introduction.md b/doc/user/project/pages/introduction.md index cebff38ba88..fa65a206273 100644 --- a/doc/user/project/pages/introduction.md +++ b/doc/user/project/pages/introduction.md @@ -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 |