28 lines
378 B
YAML
28 lines
378 B
YAML
default:
|
|
talgs:
|
|
- docs
|
|
|
|
stages:
|
|
- build
|
|
- deploy
|
|
|
|
build:
|
|
stage: build
|
|
artifacts:
|
|
paths:
|
|
- public/
|
|
script:
|
|
- echo "Build"
|
|
- hugo
|
|
|
|
delpoy-beta:
|
|
stage: deploy
|
|
script:
|
|
- echo "Deploy"
|
|
- ncftpput -R -u "$ftp_user" -p "$ftp_pass" pls5618.com docs public/*
|
|
evironment:
|
|
name: beta
|
|
url: https://docs.pls5618.com
|
|
only:
|
|
- main
|