docs/.gitlab-ci.yml
2023-03-19 20:59:35 -04:00

33 lines
457 B
YAML

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