26 lines
456 B
YAML
26 lines
456 B
YAML
default:
|
|
tags:
|
|
- docs
|
|
|
|
stages:
|
|
- build
|
|
- deploy
|
|
|
|
build:
|
|
stage: build
|
|
artifacts:
|
|
paths:
|
|
- dist/
|
|
script:
|
|
- npm install --arch=arm64 --platform=linux --libc=musl sharp
|
|
- npm install
|
|
- npm run build
|
|
|
|
deploy:
|
|
stage: deploy
|
|
script:
|
|
- ncftpput -R -u "$ftp_user" -p "$ftp_pass" pls5618.com docs dist/*
|
|
environment:
|
|
name: docs
|
|
url: https://docs.pls5618.com
|