Compare commits

...

2 Commits

Author SHA1 Message Date
ktyl 225e597060 remote unused repo link
continuous-integration/drone/push Build is passing Details
2022-09-26 22:10:44 +01:00
ktyl 3802e17657 remove old build scripts 2022-09-26 22:09:20 +01:00
3 changed files with 0 additions and 30 deletions

View File

@ -12,7 +12,6 @@ steps:
from_secret: user
SSH_KEY:
from_secret: ssh_key
REPO: https://git.pizzawednesday.club/ktyl/period3.xyz
DEST: gemini/content
commands:

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
repo="$1"
deploypath="$HOME/gemini/content"
sourcepath="content"
[[ -d $deploypath ]] && rm -r $deploypath
cp -r $sourcepath $deploypath

View File

@ -1,21 +0,0 @@
.DEFAULT_GOAL := $(SITE)
SITE = period3.xyz
HOST = pluto
HOST_DIR = $(HOST):~
CONTENT = content/
DEPLOY = deploy.sh
# to deploy the site we copy a deploy script and the site
# contents over to the remote host, then run the deploy script
# which is used to place the site files in the hosted root folder
# we then delete the built site directory locally to avoid accidentally
# caching stuff for future deploys
deploy: $(CONTENT)
rsync -rP $(CONTENT) $(SITE)
rsync -P $(DEPLOY) $(HOST_DIR)
rsync -rP $(SITE) $(HOST_DIR)
ssh $(HOST) "bash -s" < $(DEPLOY)
rm -r $(SITE)