mirror of
http://nostr-git-proxy.forgejo.svc.cluster.local/git/45387ca441053e230b2126802005eb03767ab59d84555e8bac86b6e7def14e27/myadhd
synced 2026-09-23 20:23:10 +00:00
chore: remove manual deploy script in favor of forgejo actions
This commit is contained in:
parent
7e73933ecb
commit
f1ac515bad
1 changed files with 0 additions and 18 deletions
18
deploy.sh
18
deploy.sh
|
|
@ -1,18 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
# Build (nothing to build yet — site is static) + sync docroot in place.
|
|
||||||
set -euo pipefail
|
|
||||||
cd "$(dirname "$0")"
|
|
||||||
BASE=/home/opc/zai-home-base
|
|
||||||
|
|
||||||
mkdir -p "$BASE/sites/myadhd.dev"
|
|
||||||
rsync -a --delete site/ "$BASE/sites/myadhd.dev/"
|
|
||||||
|
|
||||||
echo "==> verifying through Traefik (origin)"
|
|
||||||
sleep 1
|
|
||||||
code=$(curl -sk -o /dev/null -w '%{http_code}' --resolve myadhd.dev:443:127.0.0.1 https://myadhd.dev/ --max-time 10)
|
|
||||||
echo " https://myadhd.dev -> $code (origin)"
|
|
||||||
for asset in /static/style.css /static/app.js /static/favicon.svg /robots.txt /sitemap.xml; do
|
|
||||||
out=$(curl -sk -o /dev/null -w '%{http_code} %{content_type}' --resolve myadhd.dev:443:127.0.0.1 "https://myadhd.dev$asset" --max-time 10)
|
|
||||||
echo " $asset -> $out"
|
|
||||||
done
|
|
||||||
echo "==> deploy complete"
|
|
||||||
Loading…
Reference in a new issue