Skip to content

Commit

Permalink
Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
NotWoods committed Jul 2, 2024
1 parent e8a0e19 commit c83448c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy
on:
push:
branches: main
pull_request:
branches: main

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: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "automate-our-relationship"
entrypoint: "server/main.ts"

1 comment on commit c83448c

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on c83448c Jul 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

UNCAUGHT_EXCEPTION

MissingEnvVarsError: The following variables were defined in the example file but are not present in the environment:
  NOTION_TOKEN, TRELLO_APP_KEY, TRELLO_TOKEN, EDAMAM_APP_ID, EDAMAM_APP_KEY, NOTION_DB, TRELLO_BOARD_ID

Make sure to add them to your env file.

If you expect any of these variables to be empty, you can set the allowEmptyValues option to true.
    at assertSafe (https://deno.land/[email protected]/dotenv/mod.ts:199:11)
    at config (https://deno.land/[email protected]/dotenv/mod.ts:123:5)
    at eventLoopTick (ext:core/01_core.js:168:7)
    at async file:///src/notion-recipe-randomizer/script.ts:13:20

Please sign in to comment.