Skip to content

Commit

Permalink
Create demo deploy (#44)
Browse files Browse the repository at this point in the history
* Create deploy.yml
  • Loading branch information
Jmclerck authored Oct 14, 2024
1 parent 4f2296c commit 97e87de
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 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:
test:
runs-on: ubuntu-latest

steps:
- name: Setup repo
uses: actions/checkout@v4

- name: Setup Deno
uses: denoland/setup-deno@v1
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

0 comments on commit 97e87de

Please sign in to comment.