From 236f5a0250afd255426df1e1c0f0598c56c27c0a Mon Sep 17 00:00:00 2001 From: meirwah Date: Mon, 8 Aug 2022 14:07:50 +0300 Subject: [PATCH 1/3] change otp/signin route --- .github/workflows/ci.yaml | 2 +- samples/otp_web_sample_app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c905ad7a4..cbc08dbf9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -58,7 +58,7 @@ jobs: pkg: runs-on: ubuntu-latest needs: build - if: ${{ github.ref == 'refs/heads/main' }} + #if: ${{ github.ref == 'refs/heads/main' }} steps: - uses: actions/checkout@v3 - name: Set up Python diff --git a/samples/otp_web_sample_app.py b/samples/otp_web_sample_app.py index 80e1db3fe..d49e98a6e 100644 --- a/samples/otp_web_sample_app.py +++ b/samples/otp_web_sample_app.py @@ -77,7 +77,7 @@ def signup(): return Response("This is SignUp API handling", 200) -@APP.route("/api/signin", methods=["POST"]) +@APP.route("/otp/signin", methods=["POST"]) def signin(): data = request.get_json(force=True) email = data.get("email", None) From 2a125c6fde2ed3eff83cd1e7a9ed30e1afecc02e Mon Sep 17 00:00:00 2001 From: meirwah Date: Mon, 8 Aug 2022 14:37:10 +0300 Subject: [PATCH 2/3] change image tag --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cbc08dbf9..d21a5220b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,7 @@ name: Python package on: [push] env: - EXAMPLE_IMAGE_NAME: ghcr.io/descope/py-example:0.1.1 + EXAMPLE_IMAGE_NAME: ghcr.io/descope/py-example:0.1.2 jobs: build: From 4368a44a6d2298d495cfeefa6c8bf6e8edc0b096 Mon Sep 17 00:00:00 2001 From: meirwah Date: Mon, 8 Aug 2022 15:25:22 +0300 Subject: [PATCH 3/3] revert change --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d21a5220b..bab441b84 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -58,7 +58,7 @@ jobs: pkg: runs-on: ubuntu-latest needs: build - #if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/main' }} steps: - uses: actions/checkout@v3 - name: Set up Python