Skip to content

Commit

Permalink
Create deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell authored Sep 21, 2023
1 parent e843307 commit 4e24cc4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy
on: [push]

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read

steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Build spec
run: |
mkdir -p out
curl --retry 2 --fail https://api.csswg.org/bikeshed/ --output out/index.html --header "Accept: text/plain, text/html" -F die-on=fatal -F file=@"index.bs"
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "proposal-sockets-api"
entrypoint: "https://deno.land/[email protected]/http/file_server.ts"
root: out/

0 comments on commit 4e24cc4

Please sign in to comment.