Android: add passthrough pages

This commit is contained in:
Pieter Vander Vennet 2024-12-31 16:31:01 +01:00
parent 969ad74bd9
commit a34abb702c
6 changed files with 104 additions and 0 deletions

19
app/build_and_deploy.sh Executable file
View file

@ -0,0 +1,19 @@
#! /bin/bash
nvm use
export NODE_OPTIONS="--max-old-space-size=8192"
npm run build:vite:app-landing
mkdir to_upload
mv dist/app/* to_upload/
cp -r .well-known/ to_upload/
mkdir -p to_upload/assets
cp dist/assets/*.js to_upload/assets/
rm -rf dist
ssh hetzner "rm -rf /root/app/"
scp -rp to_upload/ hetzner:/root/app/
scp -rp to_upload/.well-known/ hetzner:/root/app/
rm -rf to_upload