To upload the files - switch to target directory and launch surge:
$ sudo npm install --global surge
$ cd ~/Desktop/static-website/public
$ surge
Welcome to surge! (surge.sh)
Login (or create surge account) by entering email & password.
email: telinovdima@gmail.com
password:
Running as telinovdima@gmail.com (Student)
project: /home/dmitritelinov/Desktop/static-website/
domain: pctags2.surge.sh
upload: [====================] 100% eta: 0.0s (68 files, 1637921 bytes)
CDN: [====================] 100%
encryption: *.surge.sh, surge.sh (360 days)
IP: x.x.x.x
Success! - Published to pctags2.surge.sh
To remove the domain and files use this command:
$ surge teardown
domain: pctags2.surge.sh
Success - pctags2.surge.sh has been removed.