add newer reprepro
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
234e077501
commit
90f78c41f1
1 changed files with 6 additions and 7 deletions
13
.drone.yml
13
.drone.yml
|
@ -6,9 +6,10 @@ steps:
|
|||
- name: Create apt packages
|
||||
image: "ubuntu:latest"
|
||||
commands:
|
||||
- env
|
||||
- apt update
|
||||
- apt install -y git reprepro wget
|
||||
# Need >= 5.4.0, which isn't in the repos
|
||||
- wget http://ftp.us.debian.org/debian/pool/main/r/reprepro/reprepro_5.4.1-1_amd64.deb && dpkg -i ./reprepro_5.4.1-1_amd64.deb
|
||||
- bash ./prepare-pages.sh
|
||||
- mkdir -p /pkg/repo
|
||||
- mv repo /pkg/repo/apt
|
||||
|
@ -22,9 +23,8 @@ steps:
|
|||
- name: Push to Pages
|
||||
image: plugins/gh-pages
|
||||
settings:
|
||||
remote_url: git@git.froth.zone:packages/awl.git
|
||||
ssh_key:
|
||||
from_secret: SSH_KEY
|
||||
remote_url:
|
||||
from_secret: URL
|
||||
target_branch: pages
|
||||
pages_directory: /pkg/repo
|
||||
user_name: Sam Therapy
|
||||
|
@ -39,9 +39,8 @@ steps:
|
|||
image: appleboy/drone-git-push
|
||||
settings:
|
||||
branch: master
|
||||
remote: ssh://git@git.froth.zone:packages/awl.git
|
||||
ssh_key:
|
||||
from_secret: SSH_KEY
|
||||
remote:
|
||||
from_secret: URL
|
||||
target_branch: pages
|
||||
commit: true
|
||||
commit_message: Update DB
|
||||
|
|
Reference in a new issue