Skip to content

Commit

Permalink
try fix github workflow I4K_FIND_URL with github {env.url}
Browse files Browse the repository at this point in the history
  • Loading branch information
h.u.g.u.rp committed Jul 30, 2023
1 parent 9cd8d75 commit 11303c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ concurrency:
group: "pages"
cancel-in-progress: false

env:
I4K_FIND_URL: ${{ env.url }}

jobs:
deploy:
environment:
Expand All @@ -25,8 +28,6 @@ jobs:
uses: actions/checkout@v3
- name: Generate opensearch.xml
run: npm run opensearch assets/opensearch.xml
env:
I4K_FIND_URL: ${{ steps.deployment.outputs.page_url }}
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
Expand Down
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ export class I4kFindSymbols {
wp: "https://en.wikipedia.org/api/rest_v1/page/{}",
wpt: "https://en.wikipedia.org/api/rest_v1/page/title/{}",
wpm: "https://en.wikipedia.org/api/rest_v1/page/media-list/{}",

weather: "http://api.openweathermap.org/geo/1.0/direct?q={},{}&limit={100}&appid={API key}"
}
},
"#": {
Expand Down

0 comments on commit 11303c6

Please sign in to comment.