deno-deploy-example/.github/workflows/ci.yml
Lucas Michot 020415ad41
chore: bump deno version (#6)
Co-authored-by: Satya Rohith <me@satyarohith.com>
2022-05-30 14:20:26 +05:30

35 lines
640 B
YAML

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Install Deno
uses: denoland/setup-deno@main
with:
deno-version: 1.22.1
- name: Build site
run: deno run -A https://deno.land/x/lume/ci.ts
- name: Deploy to Deno Deploy
uses: denoland/deployctl@v1
with:
project: lume-example
entrypoint: server/main.ts