This commit is contained in:
parent
c3b9b71e2d
commit
a0293d4176
37
.drone.yml
37
.drone.yml
@ -17,25 +17,26 @@ steps:
|
|||||||
- pacman -Syu --noconfirm
|
- pacman -Syu --noconfirm
|
||||||
- bash archiso_make.sh
|
- bash archiso_make.sh
|
||||||
|
|
||||||
- name: scp files
|
# - name: scp files
|
||||||
image: appleboy/drone-scp
|
# 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/mirror
|
|
||||||
|
|
||||||
#- name: gitea_release
|
|
||||||
# image: plugins/gitea-release
|
|
||||||
# settings:
|
# settings:
|
||||||
# api_key: xxxxxxxx
|
# host:
|
||||||
# base_url: https://your.gitea.tld
|
# from_secret: scp_host
|
||||||
# files: dist/*
|
# username:
|
||||||
|
# from_secret: scp_user
|
||||||
|
# password:
|
||||||
|
# from_secret: scp_pass
|
||||||
|
# port: 22
|
||||||
|
# source: /drone/src/archiso_out/archlinux-*-x86_64.iso
|
||||||
|
# target: /var/www/mirror
|
||||||
|
|
||||||
|
- name: gitea_release
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_secret
|
||||||
|
base_url: https://git.lulzette.ru
|
||||||
|
files: /drone/src/archiso_out/archlinux-*-x86_64.iso
|
||||||
# when:
|
# when:
|
||||||
# event: tag
|
# event: tag
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user