1
0
Fork 0
mirror of synced 2024-06-27 02:20:36 +12:00
ArchiveBox/.github/workflows/debian.yml

40 lines
925 B
YAML
Raw Normal View History

2020-11-28 23:44:37 +13:00
name: Debian
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
2020-11-28 23:48:45 +13:00
submodules: true
2020-11-28 23:44:37 +13:00
fetch-depth: 1
- name: Build Debian/Apt package
run: |
2020-11-28 23:57:18 +13:00
sudo apt install -y debhelper dh-python python3-all
2020-11-28 23:44:37 +13:00
pip install --upgrade pip setuptools wheel stdeb
./bin/build_deb.sh
- name: Install archivebox from deb
run: |
apt install deb_dist/archivebox*.deb
- name: Add some links to test
run: |
mkdir data && cd data
archivebox init
archivebox add 'https://example.com'
archivebox version
archivebox status
# TODO: push debian package to launchpad PPA
# - name: Push to launchpad
# run: |
# dput archivebox "deb_dist/archivebox_${VERSION}-${DEBIAN_VERSION}_source.changes"