From 0716e8c2837f8bcbfbf23d6c09c83ed7b92069eb Mon Sep 17 00:00:00 2001 From: Florian <45694132+flo-bit@users.noreply.github.com> Date: Thu, 28 Nov 2024 10:25:33 +0100 Subject: [PATCH] remove settings base and site --- .github/workflows/deploy.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 80f4fb9..ae1be7d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,20 +19,6 @@ jobs: - name: Checkout your repository using git uses: actions/checkout@v4 - - name: Set SITE and BASE values if MANUAL_SITE_BASE is false - run: | - if jq '.MANUAL_SITE_BASE == false' src/config.json; then - SITE="https://$GITHUB_ACTOR.github.io" - REPO_NAME="${GITHUB_REPOSITORY#*/}" - if [ "$REPO_NAME" = "$GITHUB_ACTOR.github.io" ]; then - BASE="" - else - BASE="/$REPO_NAME" - fi - jq --arg SITE "$SITE" --arg BASE "$BASE" \ - '.SITE = $SITE | .BASE = $BASE' src/config.json > tmp.$$.json && mv tmp.$$.json src/config.json - fi - - name: Install, build, and upload your site uses: withastro/action@v3