diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5b9c290..fcda652 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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"