Skip to content

Commit

Permalink
add action
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Graves committed Sep 25, 2023
1 parent ccd2a01 commit 8cefd0b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy

on: push

jobs:
deploy:
runs-on: ubuntu-latest

permissions:
id-token: write
contents: read

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

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

- name: sync
run: deno task sync
env:
NOTION_TOKEN=${{ secrets.NOTION_TOKEN }}
NOTION_BLOG_ID=${{ secrets.NOTION_BLOG_ID }}
NOTION_GALLERIES_ID=${{ secrets.NOTION_GALLERIES_ID }}

- name: Deploy to Deno Deploy
uses: denoland/deployctl@v1
with:
project: marisaac
entrypoint: server/main.ts

0 comments on commit 8cefd0b

Please sign in to comment.