summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Kapantzakis <kapantzak@gmail.com>2024-07-13 10:13:17 +0300
committerJohn Kapantzakis <kapantzak@gmail.com>2024-07-15 11:09:21 +0300
commit6ae207f27c6926ce12c019649b8e926b263b6b35 (patch)
tree2cc31f9cdfd34de93713ffeb5602e3ab38bc36e9
parentf8717315d3ff6919c5b9b3a2ef26b2ada1e6000e (diff)
Avoid using curladd-github-workflow
-rw-r--r--.github/workflows/update-website.yml16
1 files changed, 6 insertions, 10 deletions
diff --git a/.github/workflows/update-website.yml b/.github/workflows/update-website.yml
index b5cbcbdf0c..a05b73e7e9 100644
--- a/.github/workflows/update-website.yml
+++ b/.github/workflows/update-website.yml
@@ -14,13 +14,9 @@ jobs:
if: github.repository == 'netdata/netdata'
steps:
- name: Trigger netdata/website update-integrations workflow
- env:
- TARGET_REPO: "netdata/website"
- WORKFLOW_FILE: "update-integrations.yml"
- GITHUB_TOKEN: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
- run: |
- curl -X POST \
- -H "Accept: application/vnd.github.v3+json" \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$TARGET_REPO/actions/workflows/$WORKFLOW_FILE/dispatches \
- -d '{"ref":"master"}'
+ uses: benc-uk/workflow-dispatch@v1
+ with:
+ token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
+ repo: netdata/website
+ workflow: Update integrations
+ ref: refs/heads/master