поправил репу
This commit is contained in:
parent
07af9fc2f8
commit
e255b1f781
18
.drone.yml
18
.drone.yml
@ -11,7 +11,7 @@ steps:
|
||||
- echo "Server = http://mirror.yandex.ru/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist
|
||||
- cat /etc/pacman.d/mirrorlist
|
||||
- pacman -Syu --noconfirm
|
||||
- pwd; ls -la ; ls -la / ; cd /drone/src
|
||||
- cd /drone/src
|
||||
- bash archiso_make.sh
|
||||
|
||||
- name: scp files
|
||||
@ -24,9 +24,23 @@ steps:
|
||||
password:
|
||||
from_secret: scp_pass
|
||||
port: 22
|
||||
source: /root/archlinux-*-x86_64.iso
|
||||
source: /drone/src/archiso_out/archlinux-*-x86_64.iso
|
||||
target: /var/www/mirror
|
||||
|
||||
- name: send telegram notification
|
||||
image: appleboy/drone-telegram
|
||||
settings:
|
||||
token:
|
||||
from_secret: tg_token
|
||||
to:
|
||||
from_secret: tg_user
|
||||
message: >
|
||||
{{#success build.status}}
|
||||
build {{build.number}} succeeded. Good job.
|
||||
{{else}}
|
||||
build {{build.number}} failed. Fix me please.
|
||||
{{/success}}
|
||||
|
||||
#- name: gitea_release
|
||||
# image: plugins/gitea-release
|
||||
# settings:
|
||||
|
Loading…
Reference in New Issue
Block a user