removed debug line and changed the path to the index.html for sed command

This commit is contained in:
Damien Ostler 2024-01-06 22:58:52 -05:00
parent a7d7c0873f
commit 255b8474fe

View File

@ -35,9 +35,8 @@ jobs:
- name: Add coi-service-worker - name: Add coi-service-worker
run: | run: |
git clone https://github.com/gzuidhof/coi-serviceworker.git git clone https://github.com/gzuidhof/coi-serviceworker.git
ls
mv coi-serviceworker/coi-serviceworker.js build/web/coi-serviceworker.js mv coi-serviceworker/coi-serviceworker.js build/web/coi-serviceworker.js
sed -i '3 i <script src="coi-serviceworker.js"></script>' build/web/index.html sed -i '3 i <script src="coi-serviceworker.js"></script>' ../build/web/index.html
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3.9.3 uses: peaceiris/actions-gh-pages@v3.9.3