Skip to content

Commit

Permalink
use new build script
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Jan 21, 2025
1 parent 7a32145 commit ec66496
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/blogtini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions bin/build
Original file line number Diff line number Diff line change
@@ -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 .[^.]*

0 comments on commit ec66496

Please sign in to comment.