14 řádky
336 B
YAML
14 řádky
336 B
YAML
pipeline:
|
|
build:
|
|
image: node
|
|
commands:
|
|
- npm ci
|
|
- npm run build
|
|
deploy:
|
|
image: rclone/rclone
|
|
commands:
|
|
- "rclone sync build/ :sftp: --sftp-host frontier.gwei.cz --sftp-user gweicz-docs-deploy --sftp-port 2022 --sftp-pass $RCLONE_PASS -v"
|
|
secrets: [RCLONE_PASS]
|
|
when:
|
|
branch: [master]
|