Update .gitlab-ci.yml
This commit is contained in:
parent
f89300888e
commit
a4c778426c
|
@ -16,6 +16,8 @@ build_pages:
|
|||
stage: pages
|
||||
variables:
|
||||
SHELL: "/bin/sh"
|
||||
artifacts:
|
||||
untracked: true
|
||||
script:
|
||||
- apk add --no-cache --upgrade hugo
|
||||
- hugo
|
||||
|
@ -23,6 +25,10 @@ build_pages:
|
|||
build_calendar:
|
||||
image: "python:3.7-alpine3.8"
|
||||
stage: calendar
|
||||
dependencies:
|
||||
- pages
|
||||
artifacts:
|
||||
untracked: true
|
||||
variables:
|
||||
SHELL: "/bin/sh"
|
||||
script:
|
||||
|
@ -34,10 +40,13 @@ build_calendar:
|
|||
deploy_staging:
|
||||
image: "alpine:3.8"
|
||||
stage: deploy
|
||||
dependencies:
|
||||
- calendar
|
||||
variables:
|
||||
SHELL: "/bin/sh"
|
||||
script:
|
||||
- echo "deploy all the things..."
|
||||
- ls -la public/
|
||||
when: on_success
|
||||
environment:
|
||||
name: staging
|
||||
|
|
Loading…
Reference in a new issue