From a7e1fa1a19594028e53ad09c3a6df62ba15efe19 Mon Sep 17 00:00:00 2001
From: "Alphanome.AI" <137115920+alphanome@users.noreply.github.com>
Date: Sat, 7 Oct 2023 08:17:28 +0300
Subject: [PATCH 1/2] feat(ci-cd): translate curl command to GitHub Action for
repository dispatch
---
.github/workflows/cd.yml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 91ec765..4f101ce 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -38,9 +38,9 @@ jobs:
poetry publish --username __token__ --password ${{ secrets.PUBLIC_PYPI_API_TOKEN }}
- name: Initiate Website Deployment
- run: |
- curl -X POST \
- -H "Authorization: token ${{ secrets.CI_CD_TRIGGER_GITHUB_TOKEN }}" \
- -H "Accept: application/vnd.github.everest-preview+json" \
- "https://api.github.com/repos/alphanome-ai/sec-ai-deploy/dispatches" \
- --data '{"event_type": "trigger-ci-cd"}'
+ uses: peter-evans/repository-dispatch@v2
+ with:
+ token: ${{ secrets.CI_CD_TRIGGER_GITHUB_TOKEN }}
+ repository: alphanome-ai/sec-ai-deploy
+ event-type: trigger-ci-cd
+
From 06d87cbec02d23d748904b16b2c405d35b1e9bc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Elijas=20Dap=C5=A1auskas?=
<4084885+Elijas@users.noreply.github.com>
Date: Sat, 7 Oct 2023 10:39:29 +0300
Subject: [PATCH 2/2] docs: add links to demo
---
README.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/README.md b/README.md
index e9fe828..1a0d124 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,7 @@