~mrms/jsonum

94d8aa4280905ea742ec5f25b6e242d78cc3b24c — Marek Maškarinec 1 year, 1 day ago 0b8dc71
Update to UmBox
3 files changed, 14 insertions(+), 16 deletions(-)

M .build.yml
A .gitignore
R pak.json => box.json
M .build.yml => .build.yml +14 -16
@@ 1,27 1,25 @@
image: debian/bullseye
packages:
- python3
- python3-pip
- curl
- mingw-w64
- unzip
secrets:
- 8e8fa4e3-0545-49c3-87b7-751b60055a3f
sources:
- https://git.sr.ht/~mrms/jsonum
- https://git.sr.ht/~mrms/pak
environment:
  project: jsonum
secrets:
- 8e8fa4e3-0545-49c3-87b7-751b60055a3f
shell: false
    NAME: jsonum
tasks:
- setup: |
    cd pak
    python3 -m pip install -r requirements.txt
    ./setup.py install --user
    curl https://mrms.cz/dl/up/umbox_portable.zip -O
    unzip umbox_portable.zip
- build: |
    cd jsonum
    python3 -m pak update
    python3 -m pak build
    cd $NAME
    ../umbox_portable/umbox update
    ../umbox_portable/umbox build
- deploy: |
    cd jsonum
    cd $NAME
    set +x
    python3 -m pak upload -t `cat ../.secret` pak.tar
    python3 -m pak upload -t `cat ../.secret` pak.json
    ../umbox_portable/umbox upload `cat ../.secret` box.tar
    ../umbox_portable/umbox upload `cat ../.secret` box.json
    set -x

A .gitignore => .gitignore +0 -0
R pak.json => box.json +0 -0