Compare commits
2 Commits
ad959a570d
...
8d5471f937
Author | SHA1 | Date |
---|---|---|
BodgeMaster | 8d5471f937 | |
BodgeMaster | 34ad83a312 |
16
README.md
16
README.md
|
@ -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 don’t 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.
|
||||||
|
|
|
@ -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."
|
Loading…
Reference in New Issue