fix: wowmine: some

This commit is contained in:
2026-11-18 00:57:00 +00:00
parent 372cc7c93a
commit c000302260
6 changed files with 67 additions and 18 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ with tempfile.TemporaryDirectory(prefix='prism-publish-') as temporary:
for path in root.glob('*.mrpack'):
tar.add(path, arcname=path.name)
remote = f'/tmp/prism-publish-{release}.tar.gz'
subprocess.run(['scp', '-o', 'BatchMode=yes', str(archive), f'{host}:{remote}'], check=True)
with archive.open('rb') as upload:
subprocess.run(['ssh', '-o', 'BatchMode=yes', host, f'cat > {remote}'], stdin=upload, check=True)
script = '''set -eu
umask 022
base=/var/www/store/minecraft/world-of-sosal