ci: fix deploy
parent
d01af65dbc
commit
bfe3f03e03
|
|
@ -1,4 +1,3 @@
|
||||||
import { WebhookEndpoint } from "pulumi-stripe"
|
|
||||||
import { domain } from "./stage"
|
import { domain } from "./stage"
|
||||||
|
|
||||||
////////////////
|
////////////////
|
||||||
|
|
@ -68,7 +67,7 @@ export const auth = new sst.cloudflare.Worker("AuthApi", {
|
||||||
// GATEWAY
|
// GATEWAY
|
||||||
////////////////
|
////////////////
|
||||||
|
|
||||||
export const stripeWebhook = new WebhookEndpoint("StripeWebhookEndpoint", {
|
export const stripeWebhook = new stripe.WebhookEndpoint("StripeWebhookEndpoint", {
|
||||||
url: $interpolate`https://${domain}/stripe/webhook`,
|
url: $interpolate`https://${domain}/stripe/webhook`,
|
||||||
enabledEvents: [
|
enabledEvents: [
|
||||||
"checkout.session.async_payment_failed",
|
"checkout.session.async_payment_failed",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
/// <reference path="./.sst/platform/config.d.ts" />
|
/// <reference path="./.sst/platform/config.d.ts" />
|
||||||
|
|
||||||
export default $config({
|
export default $config({
|
||||||
app(input) {
|
app(input) {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue