You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
398 B

kind: pipeline
type: docker
name: default
steps:
- name: build
image: node:16
commands:
- yarn
- yarn generate
- name: deploy
image: node:16
environment:
SURFER_TOKEN:
from_secret: SURFER_TOKEN
SURFER_URL:
from_secret: SURFER_URL
commands:
- echo $SURFER_URL
- npm -g install cloudron-surfer
- surfer put --token $SURFER_TOKEN --server $SURFER_URL dist/* /