added ci
This commit is contained in:
parent
7f2dec0264
commit
05cf697b76
24
.gitlab-ci.yml
Normal file
24
.gitlab-ci.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user