Add armcord, appimagelauncher, and yt-music
This commit is contained in:
commit
415746752b
2 changed files with 20 additions and 0 deletions
9
.drone.yml
Normal file
9
.drone.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Run run.sh
|
||||||
|
image: debian:stable-slim
|
||||||
|
commands:
|
||||||
|
- '/drone/src/run.sh'
|
11
run.sh
Executable file
11
run.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y curl
|
||||||
|
apt-get install -y createrepo-c
|
||||||
|
|
||||||
|
cd /repo
|
||||||
|
curl $(curl -s https://api.github.com/repos/ArmCord/ArmCord/releases/latest | grep "browser_download_url.*ArmCord-.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
|
||||||
|
curl $(curl -s https://api.github.com/repos/TheAssassin/AppImageLauncher/releases/latest | grep "browser_download_url.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
|
||||||
|
curl $(curl -s https://api.github.com/repos/th-ch/youtube-music/releases/latest | grep "browser_download_url.*youtube-music.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
|
||||||
|
|
||||||
|
createrepo_c .
|
Loading…
Reference in a new issue