File: deploy.sh

package info (click to toggle)
rust-dysk 3.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 464 kB
  • sloc: sh: 76; makefile: 11
file content (13 lines) | stat: -rwxr-xr-x 522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# Deploy the website and the downloadable application to the official server
# (obviously this won't work if you don't have access to the server, this
#  script is only to be used by official maintainers - to install the 
#  application, head up to https://dystroy.org/dysk/install/)

# build the release zip
./release.sh

version=$(./version.sh)

# # deploy on dystroy.org
scp -r build/* dys@dystroy.org:~/prod/www.dystroy.org/dysk/download/
scp "dysk_$version.zip"  dys@dystroy.org:~/prod/www.dystroy.org/dysk/download/