Skip to content

Commit

Permalink
Update pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Madman10K authored Aug 10, 2023
1 parent 6eedad4 commit 2373e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- run: npm install -g html-minifier
- run: for i in ./*.js; do terser $i --compress -o $i; done
- run: for i in ./*.css; do csso $i -o $i; done
- name: Change URLs to production mode
- name: Change URLs to production mode
run: |
find ./ -type f \( -iname \*.html -o -iname \*.js \) -exec sed -i 's/\/index\.html//g' {} \;
find ./ -type f \( -iname \*.html -o -iname \*.js \) -exec sed -i 's/\.html//g' {} \;
Expand Down

0 comments on commit 2373e51

Please sign in to comment.