Skip to content

Commit

Permalink
fixed cache busting string
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverisaac committed Jan 21, 2023
1 parent 15aacb7 commit 15aac63
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ jobs:
lyrics.js
)
for f in "${files_to_copy[@]}"; do
cp -v ${RUNNER_TEMP}/main-branch/"$f" ./"$f"
git add ./"$f"
cp -v ${RUNNER_TEMP}/main-branch/"$f" "./$f"
sed -i -e "s/CACHE_BUSTING_STRING/$( date +%s )/g" "./$f"
git add "./$f"
done
- name: "Push the changes to gh-pages"
run: |
Expand Down

0 comments on commit 15aac63

Please sign in to comment.