fix: wowmine: some
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user