gcg-website/.gitlab-ci.yml

18 lines
347 B
YAML
Raw Normal View History

2022-03-20 12:25:50 +00:00
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
2022-03-20 13:15:09 +00:00
2022-03-20 12:25:50 +00:00
pages:
2022-03-20 13:15:09 +00:00
before_script:
2022-03-20 13:26:26 +00:00
- apk add --update --no-cache openssh sshpass
2022-03-20 12:25:50 +00:00
script:
- hugo
2022-03-20 13:29:25 +00:00
- sshpass -p $scp_password scp -r public $scp_path
2022-03-20 12:25:50 +00:00
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH