Skip to content

Commit 04cedf9

Browse files
authored
Merge pull request #123 from Southern-Exposure-Seed-Exchange/wip/s-and-witch/helcim-to-stripe
Swipe helcim checkouts with stripe at the backend
2 parents e50114c + c5ec577 commit 04cedf9

File tree

7 files changed

+540
-274
lines changed

7 files changed

+540
-274
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ jobs:
122122
- name: Prepare env
123123
run: |
124124
echo "HELCIM_ENV=${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }}" >> $GITHUB_ENV
125+
echo "STRIPE_ENV=${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }}" >> $GITHUB_ENV
125126
echo "POSTGRID_ENV=${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }}" >> $GITHUB_ENV
126127
echo "GA_MEASUREMENT_ID='UA-5070189-1'" >> $GITHUB_ENV
127128
@@ -148,5 +149,6 @@ jobs:
148149
cache-to: type=gha,mode=max
149150
build-args: |
150151
HELCIM_ENV
152+
STRIPE_ENV
151153
GA_MEASUREMENT_ID
152154
POSTGRID_ENV

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ RUN npm --prefix client install
3030
COPY client ./client
3131
ARG HELCIM_ENV
3232
ENV HELCIM_ENV=$HELCIM_ENV
33+
ARG STRIPE_ENV
34+
ENV STRIPE_ENV=$STRIPE_ENV
3335
ARG POSTGRID_ENV
3436
ENV POSTGRID_ENV=$POSTGRID_ENV
3537
ARG GA_MEASUREMENT_ID

0 commit comments

Comments
 (0)