chore: update dependencies and tooling #2
This file contains hidden or 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: Deploy Demo (Deno Deploy) | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "docs/**" | |
| - ".github/workflows/deploy-demo.yml" | |
| release: | |
| types: [published] | |
| workflow_dispatch: | |
| inputs: | |
| ref: | |
| description: "Git ref to deploy (branch, tag, or SHA)" | |
| required: false | |
| default: "main" | |
| type: string | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: deploy-demo | |
| cancel-in-progress: false | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| ref: ${{ inputs.ref || github.event.release.tag_name || github.ref }} | |
| - name: Setup Deno | |
| uses: denoland/setup-deno@v2 | |
| with: | |
| deno-version: v2.x | |
| - name: Check | |
| run: deno task check | |
| - name: Deploy | |
| env: | |
| DENO_DEPLOY_TOKEN: ${{ secrets.DENO_DEPLOY_TOKEN }} | |
| run: deno deploy --config docs/deno.json --prod docs |