Skip to content

Commit

Permalink
chore: reduce artifact bundle size
Browse files Browse the repository at this point in the history
  • Loading branch information
septs committed Dec 26, 2024
1 parent 2a2e676 commit aa2d146
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ jobs:
HUGO_ENVIRONMENT: production
HUGO_BASEURL: ${{ steps.pages.outputs.base_url }}/
run: hugo --gc --minify
- name: Cleanup
run: (cd public/js; rm -rf d3 mathjax swagger-ui mermaid.min.js)
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./public
path: public

deploy:
runs-on: ubuntu-24.04
Expand All @@ -44,4 +46,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit aa2d146

Please sign in to comment.