a tool for shared writing and social publishing
1name: Stripe Product Sync
2
3on:
4 push:
5 branches: [main]
6 paths: ["stripe/**"]
7 workflow_dispatch:
8
9jobs:
10 sync:
11 runs-on: ubuntu-latest
12 steps:
13 - uses: actions/checkout@v4
14 - uses: actions/setup-node@v4
15 with:
16 node-version: 20
17 - run: npm ci
18 - run: npx tsx stripe/sync.ts
19 env:
20 STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }}