Skip to content

Commit

Permalink
trying to understand why js files arent being deploy with gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkirk committed Jul 16, 2024
1 parent a959e58 commit 7f0f957
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:

- name: Copy web assets
run: |
rm geomedea-wasm/web_root/js/geomedea \
&& cp -r geomedea-wasm/pkg geomedea-wasm/web_root/js/geomedea \
rm geomedea-wasm/web_root/javascript/geomedea \
&& cp -r geomedea-wasm/pkg geomedea-wasm/web_root/javascript/geomedea \
&& find geomedea-wasm/web_root && ls -la geomedea-wasm/web_root
- name: Deploy to GitHub Pages
Expand Down
4 changes: 2 additions & 2 deletions geomedea-wasm/web_root/examples/maplibre/filtered.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
<div id="map"></div>
<script type="module">
console.log('importing wasm');
import init, * as wasm from "../../js/geomedea/geomedea_wasm.js";
import init, * as wasm from "../../javascript/geomedea/geomedea_wasm.js";
window.getFeatureCollection = async (bbox) => {
await init("../../js/geomedea/geomedea_wasm_bg.wasm");
await init("../../javascript/geomedea/geomedea_wasm_bg.wasm");

const relativeInput = "/../../../files/test_fixtures/USCounties-compressed.geomedea";
// let relativeInput = "/../../../files/test_fixtures/USCounties-uncompressed.geomedea";
Expand Down
4 changes: 2 additions & 2 deletions geomedea-wasm/web_root/examples/maplibre/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
</style>
<div id="map"></div>
<script type="module">
import init, * as wasm from "../../js/geomedea/geomedea_wasm.js";
import init, * as wasm from "../../javascript/geomedea/geomedea_wasm.js";
window.getFeatureCollection = async () => {
await init("../../js/geomedea/geomedea_wasm_bg.wasm");
await init("../../javascript/geomedea/geomedea_wasm_bg.wasm");

let relativeInput = "/../../../files/test_fixtures/USCounties-compressed.geomedea";
// let relativeInput = "/../../../files/test_fixtures/USCounties-uncompressed.geomedea";
Expand Down
4 changes: 2 additions & 2 deletions geomedea-wasm/web_root/examples/maplibre/large.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@

<script type="module">
console.log('importing wasm');
import init, * as wasm from "../../js/geomedea/geomedea_wasm.js";
import init, * as wasm from "../../javascript/geomedea/geomedea_wasm.js";
window.getFeatureCollection = async (bbox) => {
await init("../../js/geomedea/geomedea_wasm_bg.wasm");
await init("../../javascript/geomedea/geomedea_wasm_bg.wasm");

let input = "https://d3imsg4yynhh83.cloudfront.net/test-data/population_areas.geomedea"
let httpReader = new wasm.HttpReader(input);
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 7f0f957

Please sign in to comment.