Gitea deploy
Some checks failed
Deploy / deploy (push) Failing after 4m25s

This commit is contained in:
David Eisinger
2026-04-08 22:37:59 -04:00
parent 0856d67d2d
commit 7a50a7541a
5 changed files with 117 additions and 11 deletions

View File

@@ -37,19 +37,11 @@ tasks:
# Start Ruby server for dithering images
- dither: |
cd bin/dither
sudo bundle install
ROOT=~/davideisinger.com/content \
KEY=~/secret.key \
bundle exec rackup -p 4567 -D
true
# Build site
- hugo: |
HUGO_PARAMS_GIT_COMMIT=$(git rev-parse HEAD) \
DITHER_SERVER=http://localhost:4567 \
hugo --minify
find public -name "*.enc" -type f -delete
find public/elsewhere -name "*.gmi" -type f -delete
./bin/build
# Sync files to production server
- deploy: |
@@ -63,7 +55,7 @@ tasks:
-v \
-r \
--delete \
public/* \
public/ \
www-data@$SERVER_IP:/var/www/davideisinger.com \
2>/dev/null
set -x