mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2024-11-25 05:49:23 +01:00
.gitlab-ci.yml: switch to alpine:latest, manually specify packages
This commit is contained in:
parent
b5db3e3b4f
commit
9fc53e2cd8
@ -1,4 +1,4 @@
|
|||||||
image: python:alpine
|
image: alpine:latest
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
JEKYLL_ENV: production
|
JEKYLL_ENV: production
|
||||||
@ -11,7 +11,7 @@ cache:
|
|||||||
- ${CI_PROJECT_DIR}/bundle
|
- ${CI_PROJECT_DIR}/bundle
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apk install --no-cache ruby-bundler
|
- apk install --no-cache ruby ruby-bundler
|
||||||
- bundle install
|
- bundle install
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@ -37,7 +37,7 @@ pages:
|
|||||||
gitlab-ci-pre-commit:
|
gitlab-ci-pre-commit:
|
||||||
stage: build
|
stage: build
|
||||||
before_script:
|
before_script:
|
||||||
- apk add --no-cache git gcc musl-dev bash
|
- apk add --no-cache python3 py3-pip git gcc musl-dev bash
|
||||||
- pip install pre-commit
|
- pip install pre-commit
|
||||||
script:
|
script:
|
||||||
- pre-commit run --all-files --show-diff-on-failure
|
- pre-commit run --all-files --show-diff-on-failure
|
||||||
|
Loading…
Reference in New Issue
Block a user