~earboxer/musicdir-docs

ref: 59ce1b7652bcb24377f0dfa6604fc7bde2454b8e musicdir-docs/deploying.sh -rwxr-xr-x 568 bytes
59ce1b76Zach DeCook Docs: Add deploying script 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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