Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejwp authored Jan 6, 2024
1 parent 3146429 commit 20acd97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
run: |
npm install -g [email protected]
gatsby clean
gatsby build --prefix-paths
rm -rf public/blog
mkdir -p public/blog
find public/ -maxdepth 1 -mindepth 1 -not -name blog -exec mv '{}' public/blog/ \;
gatsby build
# rm -rf public/blog
# mkdir -p public/blog
# find public/ -maxdepth 1 -mindepth 1 -not -name blog -exec mv '{}' public/blog/ \;
# find public/blog -name index.html -exec sed -i 's\window.pagePath="\window.pagePath="/blog\g' {} \;
- name: Cloudflare
run: |
Expand Down

0 comments on commit 20acd97

Please sign in to comment.