Skip to content
Snippets Groups Projects
Unverified Commit 6a320bc3 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Also build pages again

parent 464093db
No related branches found
No related tags found
No related merge requests found
...@@ -4,24 +4,38 @@ variables: ...@@ -4,24 +4,38 @@ variables:
STORAGE_DRIVER: vfs STORAGE_DRIVER: vfs
BUILDAH_FORMAT: docker BUILDAH_FORMAT: docker
BUILDAH_ISOLATION: chroot BUILDAH_ISOLATION: chroot
GIT_SUBMODULE_STRATEGY: recursive
default:
before_script:
- buildah login -u "$CI_REGISTRY_USER" --password $CI_REGISTRY_PASSWORD $CI_REGISTRY
stages: stages:
- build - build
- deploy - deploy
build: build docker image:
stage: build stage: build
script: script:
- buildah bud -t teckids.org:latest - buildah bud -t teckids.org:latest
interruptible: true interruptible: true
retry: 1 retry: 1
deploy: build pages:
stage: build
before_script:
- apk add --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ zola
- apk add yarn
- yarn install
script:
- zola build
- cp _redirects public/
artifacts:
paths:
- public/
only:
- master
push docker image:
stage: deploy stage: deploy
before_script:
- buildah login -u "$CI_REGISTRY_USER" --password $CI_REGISTRY_PASSWORD $CI_REGISTRY
script: script:
- buildah push teckids.org:latest - buildah push teckids.org:latest
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