Skip to content

Commit

Permalink
Merge pull request #9 from epiverse-connect/fix/8
Browse files Browse the repository at this point in the history
Add map data download to deploy procedure
  • Loading branch information
chartgerink authored Nov 26, 2024
2 parents d48f303 + 0d966be commit d57b2ea
Show file tree
Hide file tree
Showing 2 changed files with 429 additions and 512 deletions.
32 changes: 18 additions & 14 deletions .github/workflows/auto-deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,26 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install dependencies, build website
run: |
npm install
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
- name: Download latest map data
run: |
curl -L https://raw.githubusercontent.com/epiverse-connect/epiverse-map-backend/refs/heads/main/inst/extdata/map_data.json -o src/example-map.json
- name: Install dependencies, build website
run: |
npm install
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_branch: gh-pages
Loading

0 comments on commit d57b2ea

Please sign in to comment.