ci: add Azure Static Web Apps workflow file #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deno Deploy | |
on: | |
push: | |
branches: | |
- main | |
- deno-deploy | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # Needed for auth with Deno Deploy | |
steps: | |
- uses: actions/checkout@v4 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
cache: "pnpm" | |
- run: pnpm install | |
- run: pnpm build | |
env: | |
NITRO_PRESET: deno_deploy | |
- uses: denoland/deployctl@v1 | |
with: | |
project: "nitro" | |
entrypoint: "server/index.ts" | |
root: ".output" |