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.
29 lines
463 B
29 lines
463 B
3 years ago
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: deploy
|
||
|
|
||
|
clone:
|
||
|
disable: true
|
||
|
|
||
|
steps:
|
||
|
- name: deploy
|
||
|
image: appleboy/drone-ssh
|
||
|
settings:
|
||
|
host:
|
||
|
from_secret: ssh_address
|
||
|
username:
|
||
|
from_secret: ssh_username
|
||
|
key:
|
||
|
from_secret: ssh_key
|
||
|
port: 22
|
||
|
script_stop: true
|
||
|
script:
|
||
|
- cd /var/www/restrictions.russia9.dev
|
||
|
- git pull
|
||
|
- mdbook build
|
||
|
|
||
|
trigger:
|
||
|
branch:
|
||
|
- master
|
||
|
event:
|
||
|
- push
|