Skip to content

Commit

Permalink
fixed release CI and bug of demo page settings (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinIgarashi authored Apr 12, 2023
1 parent f5cc0c5 commit 1f8fd87
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/six-bags-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@watergis/maplibre-gl-export": patch
---

fixed release CI and bug of demo page settings
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: build
name: Build

on:
push:
Expand Down Expand Up @@ -35,9 +35,9 @@ jobs:

- run: pnpm build

- name: configure git, build and deploy
- 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/dist
publish_dir: ./sites/maplibre-gl-export.water-gis.com/dist
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Release Draft
name: Release

on:
push:
branch:
- main
branches: [ main ]

env:
CI: true
Expand Down
Empty file.

0 comments on commit 1f8fd87

Please sign in to comment.