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