docs/.gitlab-ci.yml
2023-03-23 16:35:21 +00:00

24 lines
387 B
YAML

default:
tags:
- docs
stages:
- build
- deploy
build:
stage: build
artifacts:
paths:
- build/
script:
- npm install
- npm run build
deploy:
stage: deploy
script:
- ncftpput -R -u "$ftp_user" -p "$ftp_pass" pls5618.com docs build/*
environment:
name: docs
url: https://docs.pls5618.com