Skip to content

Commit

Permalink
Fix payment urls, restore deploy protection
Browse files Browse the repository at this point in the history
  • Loading branch information
earlinn committed Jan 11, 2024
1 parent d13d110 commit 518707b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/good_food_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
needs: flake8_and_tests
# if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main'
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions backend/payments/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
views.create_checkout_session,
name="create-checkout-session",
),
path("payment-good/", views.SuccessView.as_view()),
path("payment-bad/", views.CancelledView.as_view()),
path("payment-is-processing/", views.SuccessView.as_view()),
path("payment-cancelled/", views.CancelledView.as_view()),
path("webhooks/stripe/", views.stripe_webhook, name="stripe-webhook"),
]

0 comments on commit 518707b

Please sign in to comment.