diff --git a/.github/workflows/stripe-sync.yml b/.github/workflows/stripe-sync.yml index c85affb6..9c889123 100644 --- a/.github/workflows/stripe-sync.yml +++ b/.github/workflows/stripe-sync.yml @@ -5,20 +5,10 @@ on: branches: [main] paths: ["stripe/**"] workflow_dispatch: - inputs: - mode: - description: "Stripe mode" - required: true - default: "test" - type: choice - options: - - test - - live jobs: sync: runs-on: ubuntu-latest - environment: ${{ github.event.inputs.mode == 'live' && 'production' || 'staging' }} steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -27,4 +17,4 @@ jobs: - run: npm ci - run: npx tsx stripe/sync.ts env: - STRIPE_SECRET_KEY: ${{ github.event.inputs.mode == 'live' && secrets.STRIPE_SECRET_KEY_LIVE || secrets.STRIPE_SECRET_KEY_TEST }} + STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }}