Skip to content
Snippets Groups Projects
Commit c0727a73 authored by lynxis lazus's avatar lynxis lazus
Browse files

gitlab-ci: generate blog as artifact

parent 43af96fb
No related branches found
No related tags found
No related merge requests found
Pipeline #216516 failed
image: python:3.12-alpine
pages:
stage: deploy
script:
- apk add --update --no-cache make
- pip install -r requirements.txt
##
## Use a custom theme.
## See https://gitlab.com/pages/pelican/-/blob/main/README.md#use-a-custom-theme
##
#- pelican-themes --install /tmp/<theme-name>
- make publish
artifacts:
paths:
- public/
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
test:
stage: test
script:
- apk update && apk add make
- pip install -r requirements.txt
- make publish
rules:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment