2023-07-20 22:09:19 +00:00
|
|
|
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
|
|
|
|
|
|
|
|
# Set this if you intend to use Git submodules
|
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
|
|
|
HUGO_ENV: production
|
|
|
|
|
|
|
|
default:
|
|
|
|
before_script:
|
2023-07-20 22:29:49 +00:00
|
|
|
- export PATH="/root/.cargo/bin:$PATH"
|
2023-07-20 22:40:07 +00:00
|
|
|
- apk add --update --no-cache git go make yq cargo pkgconfig openssl openssl-dev bash
|
2023-07-20 22:29:49 +00:00
|
|
|
- cargo install stork-search --locked --all-features
|
2023-07-20 22:09:19 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- make
|
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
|
|
|
|
|
|
pages:
|
|
|
|
script:
|
|
|
|
- make
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|