поправил репу

This commit is contained in:
Ivan Vazhov 2022-02-11 00:32:53 +03:00
parent 07af9fc2f8
commit e255b1f781

View File

@ -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: