drm-pt.info/.gitlab-ci.yml

28 lines
612 B
YAML
Raw Normal View History

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:
- 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
- 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