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.
|
- kind: pipeline
- type: docker
- name: default
-
- steps:
- - name: deploy
- image: docker:dind
- commands:
- - apk add --upgrade npm bash findutils rsync sed
- - WORKDIR="/var/docker-web/apps/$DRONE_REPO_NAME"
- - rm -rf $WORKDIR
- - mkdir $WORKDIR
- - rsync -av --exclude ./node_modules /drone/src/ $WORKDIR
- - cd $WORKDIR
- - npm ci
- - bash /var/docker-web/src/cli.sh up $DRONE_REPO_NAME
|