Skip to content

Instantly share code, notes, and snippets.

@sw-samuraj
Created October 7, 2018 19:44
Show Gist options
  • Save sw-samuraj/0cca37c22016fc2073d41ad70d8a0d93 to your computer and use it in GitHub Desktop.
Save sw-samuraj/0cca37c22016fc2073d41ad70d8a0d93 to your computer and use it in GitHub Desktop.
CI/CD configuration for publishing of GitLab Pages via Hugo.
image: registry.gitlab.com/pages/hugo:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
script:
- hugo
artifacts:
paths:
- public
only:
- master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment