Update Deno deploy version (#45) #8
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Deploy | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
permissions: | |
contents: read | |
id-token: write # This is required to allow the GitHub Action to authenticate with Deno Deploy. | |
jobs: | |
deno: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v4 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- name: Deploy to Deno Deploy | |
uses: denoland/deployctl@v1 | |
with: | |
entrypoint: https://jsr.io/@std/http/1.0.7/file_server.ts | |
project: jclerck |