From fc549dac67ac471e3f69fba0f5f3d4a9d77e18ad Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Fri, 16 Feb 2024 22:33:34 -0300 Subject: [PATCH] always build before deploying. --- justfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/justfile b/justfile index 4ecfd44..3059e50 100644 --- a/justfile +++ b/justfile @@ -5,13 +5,11 @@ build: cp src/index.html dist/index.html cp -r src/img dist/img -deploy: +deploy: lint build wrangler pages publish --project-name metadata-contacts-relays dist/ lint: eslint src/ --ext .js,.jsx,.ts,.tsx -build-and-deploy: build deploy - serve: fd '.ts|.html|.css' | entr -r bash -c 'just build && python -m http.server -d dist/ 8080'