Настраиваю деплой через drone
This commit is contained in:
parent
cfad8a483b
commit
92eab3b8dd
33
.drone.yml
Normal file
33
.drone.yml
Normal file
@ -0,0 +1,33 @@
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: build_and_push
|
||||
|
||||
# workspace:
|
||||
# path: /drone/src
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
commands:
|
||||
- mkdocs build
|
||||
|
||||
- name: scp files
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host:
|
||||
from_secret: scp_host
|
||||
username:
|
||||
from_secret: scp_user
|
||||
password:
|
||||
from_secret: scp_pass
|
||||
port: 22
|
||||
source: /drone/src/archiso_out/archlinux-*-x86_64.iso
|
||||
target: /var/www/html
|
||||
|
||||
#- name: gitea_release
|
||||
# image: plugins/gitea-release
|
||||
# settings:
|
||||
# api_key: xxxxxxxx
|
||||
# base_url: https://your.gitea.tld
|
||||
# files: dist/*
|
||||
# when:
|
||||
# event: tag
|
Loading…
Reference in New Issue
Block a user