Run deploy tool as tools/deploy/index.ts in update scripts

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Christopher Monsanto
2026-08-12 19:35:28 -04:00
parent d7e0f8d373
commit c9ec48f512
2 changed files with 2 additions and 2 deletions

View File

@@ -18,6 +18,6 @@ ssh smogon 'systemctl reload dex'
# Update forum minisprites
cd /home/monsanto/smogon/sprites
rm -rf deploy/smogon
node tools/deploy run smogon.deploy.js -o deploy/smogon
node tools/deploy/index.ts run smogon.deploy.js -o deploy/smogon
rsync -a deploy/smogon/forumsprites/ smogon:/smog2/forumsprites/minisprites
rsync -a deploy/smogon/xyicons/ smogon:/smog2/sprites/xyicons

View File

@@ -5,7 +5,7 @@ set -ex
cd /home/monsanto/smogon/sprites
./build.sh
rm -rf deploy/smogon
node tools/deploy run smogon.deploy.js -o deploy/smogon
node tools/deploy/index.ts run smogon.deploy.js -o deploy/smogon
# Note: the /forums/media/pmd directory should probably stay the same; we can redirect those I guess
rsync -a deploy/smogon/pmd/ smogon:/smog2/forumsprites/pmd