How to deploy a Svelkekit app on Deno Deploy - no docs only errors so far.
name: Deploy
on:
push:
branches: main
pull_request:
branches: main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
id-token: write # Needed for auth with Deno Deploy
contents: read # Needed to clone the repository
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Build step
run: "deno task build"
working-directory: "apps/zemili/frontend"
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "zemili-frontend"
entrypoint: "apps/zemili/frontend/.svelte-kit/output/server/index.js"
root: ""
name: Deploy
on:
push:
branches: main
pull_request:
branches: main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
id-token: write # Needed for auth with Deno Deploy
contents: read # Needed to clone the repository
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Build step
run: "deno task build"
working-directory: "apps/zemili/frontend"
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "zemili-frontend"
entrypoint: "apps/zemili/frontend/.svelte-kit/output/server/index.js"
root: ""
0 Replies