[READ-ONLY] Mirror of https://github.com/flo-bit/blog-template. minimalistic astro blog template flo-bit.dev/blog-template/
astro blog template
0

Configure Feed

Select the types of activity you want to include in your feed.

remove settings base and site

-14
-14
.github/workflows/deploy.yml
··· 19 19 - name: Checkout your repository using git 20 20 uses: actions/checkout@v4 21 21 22 - - name: Set SITE and BASE values if MANUAL_SITE_BASE is false 23 - run: | 24 - if jq '.MANUAL_SITE_BASE == false' src/config.json; then 25 - SITE="https://$GITHUB_ACTOR.github.io" 26 - REPO_NAME="${GITHUB_REPOSITORY#*/}" 27 - if [ "$REPO_NAME" = "$GITHUB_ACTOR.github.io" ]; then 28 - BASE="" 29 - else 30 - BASE="/$REPO_NAME" 31 - fi 32 - jq --arg SITE "$SITE" --arg BASE "$BASE" \ 33 - '.SITE = $SITE | .BASE = $BASE' src/config.json > tmp.$$.json && mv tmp.$$.json src/config.json 34 - fi 35 - 36 22 - name: Install, build, and upload your site 37 23 uses: withastro/action@v3 38 24