Skip to content

Commit

Permalink
Merge pull request #43 from mkobuolys/ci/example-base-href
Browse files Browse the repository at this point in the history
ci: update example's base url
  • Loading branch information
mkobuolys authored Dec 3, 2023
2 parents 828233e + 6a90e76 commit a1adc26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
working-directory: ./example

- name: Build web
run: flutter build web --release --web-renderer=canvaskit
run: flutter build web --release --web-renderer canvaskit --base-href ./
working-directory: ./example

- name: Deploy to GitHub Pages
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# NEXT

- ci: update the example's base url for GitHub Pages deployment

# 0.8.0

- feat: add marker tool
Expand Down
2 changes: 1 addition & 1 deletion example/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
This is a placeholder for base href that will be replaced by the value of
the `--base-href` argument provided to `flutter build`.
-->
<base href="./">
<base href="$FLUTTER_BASE_HREF">

<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
Expand Down

0 comments on commit a1adc26

Please sign in to comment.