From d9a99c24ac1b209477228b169841d099fe4831ed Mon Sep 17 00:00:00 2001 From: AnotherFrench <169302941+anotherfrench@users.noreply.github.com> Date: Tue, 6 Aug 2024 00:43:45 +0200 Subject: [PATCH] New Deploy & Fix Sitemap on Robots.txt --- .github/workflows/deploy.yml | 6 ++++-- static/robots.txt | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6fac23d..d3e7149 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,7 +20,9 @@ jobs: cache: npm - name: Install dependencies run: npm install - - name: build + - name: Create Folder for Pre-Build + run: mkdir -p build + - name: Build run: | npm run build - name: Upload Artifacts @@ -40,4 +42,4 @@ jobs: steps: - name: Deploy id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 diff --git a/static/robots.txt b/static/robots.txt index 5252a1d..11573a7 100644 --- a/static/robots.txt +++ b/static/robots.txt @@ -2,4 +2,4 @@ User-agent: * Allow: / Disallow: /api/ -Sitemap: https://ninjin.eu.org \ No newline at end of file +Sitemap: https://ninjin.eu.org/sitemap.xml \ No newline at end of file