Browse Source

drone

master
Andrey Kovalev 2 years ago
parent
commit
e0f618983f
  1. 29
      .drone.yml
  2. 4
      book.toml

29
.drone.yml

@ -0,0 +1,29 @@ @@ -0,0 +1,29 @@
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/notes.russia9.dev
- git pull
- docker-compose up -d --build
trigger:
branch:
- master
event:
- push

4
book.toml

@ -3,5 +3,5 @@ authors = ["Russia9"] @@ -3,5 +3,5 @@ authors = ["Russia9"]
src = "src"
[output.html]
git-repository-url = "https://github.com/Russia9/notes"
edit-url-template = "https://github.com/Russia9/notes/edit/master/{path}"
git-repository-url = "https://gitea.russia9.dev/Russia9/notes"
edit-url-template = "https://gitea.russia9.dev/Russia9/notes/edit/master/{path}"

Loading…
Cancel
Save