Skip to content

Commit

Permalink
Fix/release ci if statement (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinIgarashi authored Apr 12, 2023
1 parent 1f8fd87 commit 45fdc37
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/sweet-camels-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@watergis/maplibre-gl-export": patch
---

fix: fixed repository name at if statement in release CI
7 changes: 0 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,3 @@ jobs:
- run: pnpm lint

- run: pnpm build

- name: deploy demo site
if: ${{ github.ref == 'refs/heads/main'}}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./sites/maplibre-gl-export.water-gis.com/dist
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
release:
# prevents this action from running on forks
if: github.repository == 'undp-data/geohub'
if: github.repository == 'watergis/maplibre-gl-export'
permissions:
contents: write # to create release (changesets/action)
pull-requests: write # to create pull request (changesets/action)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# malibre-gl-export

[![Netlify Status](https://api.netlify.com/api/v1/badges/2ca781c3-2680-4c17-9219-4992c1f2a44e/deploy-status)](https://app.netlify.com/sites/maplibre-gl-export/deploys)

This monorepo manages the source code and demo page for `@watergis/maplibre-gl-export`.

## Repositories
Expand Down
2 changes: 1 addition & 1 deletion packages/maplibre-gl-export/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Furthermore, you may download specific version's scripts and css locally from [r

## Demo:

See [demo](https://watergis.github.io/maplibre-gl-export/#12/-1.08551/35.87063).
See [demo](https://maplibre-gl-export.water-gis.com/).

![demo.gif](./demo.gif)

Expand Down

0 comments on commit 45fdc37

Please sign in to comment.