Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadxp authored Aug 13, 2023
1 parent 52236e5 commit 8f810eb
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish on Deno Deploy

on:
push:
branches:
- main
- template

jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read

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

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

- name: Build site
run: deno task build

- name: Deploy to Deno Deploy
uses: denoland/deployctl@v1
with:
project: lume-site
import-map: "./import_map.json"
entrypoint: serve.ts

0 comments on commit 8f810eb

Please sign in to comment.