Skip to content
Snippets Groups Projects

add a gitlab-ci runner

Merged Matti Picus requested to merge branch/preview into branch/default
1 unresolved thread
Files
2
.gitlab-ci.yml 0 → 100644
+ 31
0
stages:
- build
- deploy
html-build:
image: registry.heptapod.net/pypy/pypy/ci:v1
stage: build
script:
- make build
#deploy-test:
# image: registry.heptapod.net/octobus/ci-dockerfiles/ci-website
# stage: deploy
# script:
# - make build # use artefact eventually
# - netlify deploy --site=056ee9b4-122d-4b02-bf62-5a2fc9776196 --auth="$NETLIFY_AUTH_TOKEN" --dir="public"
deploy:
# On a merge, regenerate the content and commit it to the repo
image: registry.heptapod.net/pypy/pypy/ci:v1
stage: deploy
only:
- branch/default
script:
- set -ex
- make build
- hg add public
- hg commit public
- hg push
Loading