diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index fc129bcc..0fbaa776 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -44,6 +44,7 @@ jobs: S3_FOLDER: ${{ vars.S3_FOLDER }} S3_REGION: ${{ vars.S3_REGION }} S3_FORCE_PATH_STYLE: ${{ vars.S3_FORCE_PATH_STYLE }} + WEBHOOK_SECRET: ${{ vars.WEBHOOK_SECRET }} run: | cd Rin/ bun i diff --git a/scripts/migrator.ts b/scripts/migrator.ts index 8e336c7b..1c237000 100644 --- a/scripts/migrator.ts +++ b/scripts/migrator.ts @@ -25,6 +25,7 @@ const S3_CACHE_FOLDER = renv("S3_CACHE_FOLDER", 'cache/') const S3_FOLDER = renv("S3_FOLDER", 'images/') const S3_REGION = renv("S3_REGION", "auto") const S3_FORCE_PATH_STYLE = env("S3_FORCE_PATH_STYLE", "false") +const WEBHOOK_URL = env("WEBHOOK_URL", "") // Secrets const accessKeyId = env("S3_ACCESS_KEY_ID") @@ -53,6 +54,7 @@ S3_ENDPOINT = "${S3_ENDPOINT}" S3_ACCESS_HOST = "${S3_ACCESS_HOST}" S3_BUCKET = "${S3_BUCKET}" S3_FORCE_PATH_STYLE = "${S3_FORCE_PATH_STYLE}" +WEBHOOK_URL = "${WEBHOOK_URL}" [placement] mode = "smart"