Compare commits

..

2 Commits

3 changed files with 28 additions and 0 deletions

View File

@ -1,2 +1,18 @@
# Asteroids # Asteroids
`BodgeMaster was here.`
I set up web deployment for you. Still need to take care of the reverse
proxy side of things, but the deployment should already be working.
## About the files I added:
[deployment-script.sh](./deployment-script.sh) is being executed every time
the updated project gets deployed. Deployment happens when you push
to master. If you dont need it, just leave it alone; deployment will fail
without it.
[webroot/](./webroot/) is the directory that is linked into the web server.
You can either just put your files in there, or you can have the deployment
script or some build process called by the deployment script put them there.

12
deployment-script.sh Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
echo "Deployment script for repository \"web-deployment\"
`date`
=============================================================================="
# If there are any commands that need to be executed when deploying,
# add them to this script. Feel free to make the commands really verbose
# as this is also used for logging.
echo "==============================================================================
Done."

0
webroot/.placeholder Normal file
View File