diff --git a/.github/workflows/blogtini.yml b/.github/workflows/blogtini.yml index 4c8b459..8d8d7c7 100644 --- a/.github/workflows/blogtini.yml +++ b/.github/workflows/blogtini.yml @@ -55,14 +55,12 @@ jobs: with: repository: traceypooh/blogtini path: _blogtini - - name: R & D + - name: Blogtini SEO head elements & sitemap uses: docker://denoland/deno:alpine with: - # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-of-jobsjob_idstepswithargs - entrypoint: /bin/sh - # setup SEO headers & create sitemap xxx split out comments mgmt - args: -c apk add zsh yq - - name: Blogtini SEO head elements & sitemap + # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-of-jobsjob_idstepswithargs + entrypoint: ./bin/build + - name: Blogtini SEO head elements & sitemap slower xxx run: | set -x # get pkgs diff --git a/bin/build b/bin/build new file mode 100755 index 0000000..7f5f326 --- /dev/null +++ b/bin/build @@ -0,0 +1,13 @@ +#!/bin/sh + +apk add zsh yq + +# setup SEO headers & create sitemap xxx split out comments mgmt +if [ ! -e sitemap.xml ]; then + ./_blogtini/bin/sitemap +fi + +./_blogtini/bin/ssr.sh + +# cleanup, remove .git/ etc.. +rm -rf _blogtini .[^.]*