Skip to content

Commit

Permalink
ci: deploy to deno
Browse files Browse the repository at this point in the history
  • Loading branch information
Nomango authored Feb 20, 2024
1 parent 4779121 commit 2c25970
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 @@
name: Deploy
on:
push:
branches: master
pull_request:
branches: master
workflow_dispatch:

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest

permissions:
id-token: write # Needed for auth with Deno Deploy
contents: read # Needed to clone the repository

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Build step
uses: mattnotmitt/doxygen-action@v1.9.4

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: kiwano-docs
entrypoint: https://deno.land/std/http/file_server.ts
root: ./docs/html

0 comments on commit 2c25970

Please sign in to comment.