Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
Chandler Swift | 24c4134dba | ||
Chandler Swift | 3458476ca4 |
5
Makefile
5
Makefile
|
@ -1,2 +1,7 @@
|
|||
minecraft-site: minecraft-site.go index.html go.mod go.sum
|
||||
go build -tags netgo -ldflags '-extldflags "-static"'
|
||||
|
||||
.PHONY: deploy
|
||||
deploy: minecraft-site
|
||||
rsync --rsync-path="sudo -u minecraft rsync" minecraft-site zirconium:/home/minecraft/minecraft-site
|
||||
ssh zirconium sudo systemctl restart minecraft-site.service
|
||||
|
|
|
@ -55,6 +55,9 @@
|
|||
{{end}}
|
||||
</section>
|
||||
{{end}}
|
||||
<p class="light">This page maintained by chandlerswift's <a href="https://git.chandlerswift.com/chandlerswift/minecraft-site">minecraft server list</a>.</p>
|
||||
<p class="light">
|
||||
This page maintained by chandlerswift's <a href="https://git.chandlerswift.com/chandlerswift/minecraft-site">minecraft server list</a>.
|
||||
<a href="/data.json">API at /data.json</a>.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue