Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Blocksnmore authored Apr 1, 2024
1 parent 92163bd commit 4144d18
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,26 @@ jobs:
deno-version: v1.x

- name: Build step
env:
ALLOWED_EMAILS: ${{ secrets.ALLOWED_EMAILS }}
IMAGEKIT_ENABLED: ${{ secrets.IMAGEKIT_ENABLED }}
IMAGEKIT_PRIVATE_KEY: ${{ secrets.IMAGEKIT_PRIVATE_KEY }}
IMAGEKIT_PUBLIC_KEY: ${{ secrets.IMAGEKIT_PUBLIC_KEY }}
IMAGEKIT_URL_ENDPOINT: ${{ secrets.IMAGEKIT_URL_ENDPOINT }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: "deno task build"

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
env:
ALLOWED_EMAILS: ${{ secrets.ALLOWED_EMAILS }}
IMAGEKIT_ENABLED: ${{ secrets.IMAGEKIT_ENABLED }}
IMAGEKIT_PRIVATE_KEY: ${{ secrets.IMAGEKIT_PRIVATE_KEY }}
IMAGEKIT_PUBLIC_KEY: ${{ secrets.IMAGEKIT_PUBLIC_KEY }}
IMAGEKIT_URL_ENDPOINT: ${{ secrets.IMAGEKIT_URL_ENDPOINT }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
with:
project: "events"
entrypoint: "./main.ts"
Expand Down

0 comments on commit 4144d18

Please sign in to comment.