mirror of
https://github.com/Ysurac/openmptcprouter-vps-admin.git
synced 2025-02-12 10:31:52 +00:00
Update Debian package
This commit is contained in:
parent
6404f52ef4
commit
4ba8d8d2b3
3 changed files with 50 additions and 1 deletions
43
.github/workflows/build.yml
vendored
Normal file
43
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
name: Build
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: install dependencies
|
||||
run: sudo apt-get install debhelper
|
||||
|
||||
- name: Build Debian package
|
||||
run: dpkg-buildpackage -b -us -uc
|
||||
|
||||
- name: Move deb packages
|
||||
run: mkdir packages && mv ../*.deb packages/
|
||||
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: Debian packages
|
||||
path: packages
|
||||
- name: Deploy - Create directory
|
||||
uses: ysurac/ssh-action@master
|
||||
with:
|
||||
command: |
|
||||
mkdir -p deploy/debian
|
||||
host: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||
user: deploy
|
||||
port: ${{ secrets.OMR_DEPLOY_PORT }}
|
||||
key: ${{ secrets.PRIVATE_KEY }}
|
||||
args: -tt
|
||||
- name: Deploy - Upload via rsync
|
||||
uses: ysurac/action-rsync@master
|
||||
env:
|
||||
ARGS: -av
|
||||
TARGET: deploy/package
|
||||
SOURCE: ./packages/
|
||||
KEY: ${{ secrets.PRIVATE_KEY }}
|
||||
USER: deploy
|
||||
HOST: ${{ secrets.OMR_DEPLOY_HOST }}
|
||||
PORT: ${{ secrets.OMR_DEPLOY_PORT }}
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
omr-vps-admin (0.3+20210304) unstable; urgency=medium
|
||||
|
||||
* Wireguard for MPTCP over VPN support
|
||||
|
||||
-- OpenMPTCProuter <contact@openmptcprouter.com> Thu, 04 Mar 2021 14:36:12 +0200
|
||||
|
||||
omr-vps-admin (0.2+20200611) unstable; urgency=medium
|
||||
|
||||
* Fix on VPN IPs settings
|
||||
|
|
2
debian/control
vendored
2
debian/control
vendored
|
@ -10,5 +10,5 @@ Homepage: https://github.com/ysurac/openmptcprouter-vps-admin
|
|||
Package: omr-vps-admin
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Depends: ${misc:Depends}, ${python3:Depends}, python3-uvicorn, python3-netaddr, python3-pip, python3-netifaces
|
||||
Depends: ${misc:Depends}, ${python3:Depends}, python3-uvicorn, python3-netaddr, python3-pip, python3-netifaces, python3-aiofiles, python3-psutil, jq, ipcacl
|
||||
Description: OpenMPTCProuter VPS admin rest api
|
Loading…
Reference in a new issue