docs/.gitlab-ci.yml

31 lines
421 B
YAML

default:
tags:
- docs
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build
- deploy
build:
stage: build
artifacts:
paths:
- public/
script:
- echo "Build"
- hugo
delpoy:
stage: deploy
script:
- echo "Deploy"
- ncftpput -R -u "$ftp_user" -p "$ftp_pass" pls5618.com docs public/*
environment:
name: docs
url: https://docs.pls5618.com
only:
- main