From b6bb70f63bd9d65eca9848f4fdacc8412402eff4 Mon Sep 17 00:00:00 2001 From: Cyper Date: Sat, 5 Jul 2025 20:53:17 -0400 Subject: [PATCH] Updated deployment script, correct build command --- .gitea/workflows/deploy.yaml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 54d0ffe..06a868b 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -28,8 +28,8 @@ jobs: - name: Build site if: env.should_deploy == 'true' run: | - cd ./src - npx @11ty/eleventy + npm run build + echo "Site built successfully." - name: Deploy folder if: env.should_deploy == 'true' diff --git a/package.json b/package.json index 629914a..8de941c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "My personal blog", "scripts": { "start": "npx @11ty/eleventy --input ./src --serve", - "build": "npx @11ty/eleventy --input .src", + "build": "npx @11ty/eleventy --input ./src", "clean": "rm -rf {_site,./src/_site}" }, "repository": {