GitLab Pipelines

Description

GitLab Pages is a free hosting service integrated directly with GitLab. You can have your Plenti websites automatically deploy to GitLab Pages by adding a .gitlab-ci.yml file to your project to automatically build and deploy your website every time you push to your master branch on GitLab.

Unfortunately GitLab has a bug that is preventing us from using the official Docker image for the project like you'd expect: 

image:
  name: plentico/plenti:latest
  entrypoint: [""]

pages:
  script:
    - /plenti build
  artifacts:
    paths:
      - public
  only:
    - master

So for now we have a temporary workaround you can use:

image: docker:stable

pages:
  before_script:
    - apk add --update curl wget && rm -rf /var/cache/apk/*
  script:
    - wget -c $(curl -s https://api.github.com/repos/plentico/plenti/releases/latest | grep -o 'http.*linux_64-bit.tar.gz')
    - tar -zxvf *_linux_64-bit.tar.gz
    - ./plenti build
  artifacts:
    paths:
      - public
  only:
    - master