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