Skip to content

Add delete functionality for maps and tilesets, enhance PWA support (#4) #42

Add delete functionality for maps and tilesets, enhance PWA support (#4)

Add delete functionality for maps and tilesets, enhance PWA support (#4) #42

Workflow file for this run

name: Deploy Dev
on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:
# Allow this job to clone the repo and create a page deployment
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy-app:
name: Deploy App to dev-app.2dtiler.com
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v6.0.2
- name: Set up Bun
uses: oven-sh/setup-bun@v2.2.0
- name: Install dependencies
run: bun install
- name: Build
env:
VITE_SENTRY_DSN: ${{ secrets.VITE_SENTRY_DSN }}
run: bun run build
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3.14.1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
packageManager: bun
wranglerVersion: 4.81.0
command: pages deploy dist --project-name=2dtiler-app --branch=dev