blog/.gitlab-ci.yml
Matej Focko 718d4bd6f6
ci: switch to newer image and remove unused
* switch to the latest alpine image
* remove commented out code that was used before

Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-08-18 12:21:24 +02:00

24 lines
482 B
YAML

image: node:current-alpine
cache:
key:
files:
- yarn.lock
paths:
- .yarn-cache/
before_script:
- echo 'yarn-offline-mirror ".yarn-cache/"' >> .yarnrc
- echo 'yarn-offline-mirror-pruning true' >> .yarnrc
- yarn install --frozen-lockfile --no-progress
- apk update && apk add make graphviz zip
pages:
script:
- make assets
- make build-poincare
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH