Skip to content

Commit

Permalink
chore: try cache busting in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
runepiper committed May 22, 2024
1 parent fdd979c commit f8ec9f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +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: rm -rf node_modules
- uses: actions/upload-pages-artifact@v3
with:
Expand Down
4 changes: 1 addition & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
<link rel="canonical" href="https://www.runepiper.de/">
<meta name="theme-color" content="#484848" media="(prefers-color-scheme: dark)">
<meta name="theme-color" content="#f5f5f5">
<script>
document.head.innerHTML += '<link rel="stylesheet" href="assets/stylesheets/main.css?v= ' + (new Date()).getTime() + '">';
</script>
<link rel="stylesheet" href="assets/stylesheets/main.css?v={version}">
<link href="https://fonts.googleapis.com/css?family=Karla:400,700&display=swap" rel="stylesheet">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>💩</text></svg>">
<meta name="p:domain_verify" content="06427b2fe65ce95de6aae3673e70a36a"/>
Expand Down

0 comments on commit f8ec9f8

Please sign in to comment.