Skip to content

Commit

Permalink
chore: use timestamp for CSS cache bust
Browse files Browse the repository at this point in the history
  • Loading branch information
runepiper committed May 22, 2024
1 parent f8ec9f8 commit e582a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/configure-pages@v5
- run: npm ci
- run: NODE_ENV=production npx tailwindcss -o assets/stylesheets/main.css --minify
- run: sed -i "s/{version}/$(date '+%Y%m%d')/g" index.html
- run: sed -i "s/{version}/$(date '+%s')/g" index.html
- run: rm -rf node_modules
- uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit e582a7a

Please sign in to comment.