~earboxer/musicdir-docs

59ce1b7652bcb24377f0dfa6604fc7bde2454b8e — Zach DeCook 1 year, 25 days ago 81f46cd
Docs: Add deploying script
1 files changed, 20 insertions(+), 0 deletions(-)

A deploying.sh
A deploying.sh => deploying.sh +20 -0
@@ 0,0 1,20 @@
#!/bin/sh
# Deploying
## curl in patch, push changes.
## Ensure pipeline succeeds.

## Setup
### Have ~/packages directory with appropriate symlinks for different architectures.

## Building packages and APKINDEX

### Build packages that haven't been built yet
find mdaports -name '*APKBUILD' | xargs -I{} sh -c "APKBUILD='{}' abuild"
### Remove outdated packages
find mdaports -name '*APKBUILD' | xargs -I{} sh -c "APKBUILD='{}' abuild cleanoldpkg"

## Updating apkbrowser
cd apkbrowser
./update-database.py config.ini ''

doas touch /etc/uwsgi/conf.d/apkbrowser.ini