1234567891011121314151617181920212223242526272829 |
- ---
- ################
- # Build & Test #
- ################
- kind: pipeline
- name: run_tests
- steps:
- # Run tests against Python/Flask engine backend (with pytest)
- - name: build and push
- image: drillster/drone-rsync
- settings:
- user: root
- key:
- from_secret: key
- hosts:
- - box.unbl.ink
- source: ./public
- target: /home/user-data/www/unbl.ink/
- secrets: [ key ]
- commands:
- - wget https://github.com/gohugoio/hugo/releases/download/v0.110.0/hugo_0.110.0_linux-amd64.tar.gz
- - tar zxvf hugo_0.110.0_linux-amd64.tar.gz
- - ./hugo
- volumes:
- - name: docker
- host:
- path: /var/run/docker.sock
|