From f50fc8bdf0737aa28be5877f8812df83039d919e Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Sat, 8 Jun 2024 10:13:21 -0600 Subject: [PATCH] new domain for pmtiles viewer (#405) --- .github/workflows/actions.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 85a71bb..268585f 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -20,7 +20,7 @@ jobs: node-version: 18.x - run: cd js && npm install && npm run build - run: echo "VITE_GIT_SHA=$(git rev-parse --short HEAD)" >> app/.env - - run: cd app && npm install && ./node_modules/.bin/tsc && npm run prettier-check && ./node_modules/.bin/vite build --base=/PMTiles/ + - run: cd app && npm install && ./node_modules/.bin/tsc && npm run prettier-check && ./node_modules/.bin/vite build - run: cd serverless/aws && npm install && npx tsc && npm run biome-check && npm run build && cp dist/lambda_function.zip ../../app/dist - run: cd serverless/cloudflare && cp wrangler.toml.example wrangler.toml && npm install && npx tsc && npm run biome-check && npm run build && cp dist/index.js ../../app/dist - run: cd spec/v3 && cp *.pmtiles ../../app/dist @@ -34,6 +34,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./app/dist force_orphan: true + cname: pmtiles.io test: runs-on: ubuntu-latest