Skip to content

Commit ab7e15e

Browse files
committed
Hanlde world.html by Actions to deploy
1 parent 0512684 commit ab7e15e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy_to_pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
run: |
4242
ruby -i -pe '$_.gsub!("geolonia-api-key=YOUR-API-KEY",
4343
"geolonia-api-key=${{ env.GEOLONIA_API_KEY }}")' _site/index.html
44+
ruby -i -pe '$_.gsub!("geolonia-api-key=YOUR-API-KEY",
45+
"geolonia-api-key=${{ env.GEOLONIA_API_KEY }}")' _site/world.html
4446
4547
- name: 🚀 Deploy to GitHub Pages
4648
if: github.ref == 'refs/heads/main' && job.status == 'success'

0 commit comments

Comments
 (0)