Update .gitlab-ci.yml

This commit is contained in:
XenGi 2018-08-16 22:09:39 +02:00
parent f89300888e
commit a4c778426c

View file

@ -16,6 +16,8 @@ build_pages:
stage: pages stage: pages
variables: variables:
SHELL: "/bin/sh" SHELL: "/bin/sh"
artifacts:
untracked: true
script: script:
- apk add --no-cache --upgrade hugo - apk add --no-cache --upgrade hugo
- hugo - hugo
@ -23,6 +25,10 @@ build_pages:
build_calendar: build_calendar:
image: "python:3.7-alpine3.8" image: "python:3.7-alpine3.8"
stage: calendar stage: calendar
dependencies:
- pages
artifacts:
untracked: true
variables: variables:
SHELL: "/bin/sh" SHELL: "/bin/sh"
script: script:
@ -34,10 +40,13 @@ build_calendar:
deploy_staging: deploy_staging:
image: "alpine:3.8" image: "alpine:3.8"
stage: deploy stage: deploy
dependencies:
- calendar
variables: variables:
SHELL: "/bin/sh" SHELL: "/bin/sh"
script: script:
- echo "deploy all the things..." - echo "deploy all the things..."
- ls -la public/
when: on_success when: on_success
environment: environment:
name: staging name: staging