mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-21 20:46:14 -04:00
17 lines
440 B
Bash
Executable file
17 lines
440 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
versionCode=$(($(date +%s) / 60))
|
|
|
|
bash ./build.sh $versionCode
|
|
|
|
# we don't add a version tag to let fdroid ignore this build
|
|
|
|
# upload to breakout-v3-staging.lecaro.me
|
|
DOMAIN="breakout-v3-staging.lecaro.me"
|
|
PUBLIC_CONTENT="./build/*"
|
|
|
|
ssh staging "mkdir -p /opt/mup-nginx-proxy/config/html/static_sites/$DOMAIN"
|
|
rsync -avz --delete $PUBLIC_CONTENT staging:/opt/mup-nginx-proxy/config/html/static_sites/$DOMAIN
|
|
|