@cryptotaxi247 / netdata-1 / commits / 2956244a2

Add GitHub workflow (#18128)

* Add workflow that dispatched website update * Fix typo * Change step name * Added concurrency, repo conditional and changed github token * Avoid using curl

John Kapantzakis committed Dec 11, 2024 at 17:14 UTC 2956244a2aa0e341da691dd8db8b7d84854798a5
1 file changed +22
.github/workflows/update-website.yml new
+22
@@ -0,0 +1,22 @@
1 +name: Update website
2 +on:
3 + push:
4 + branches:
5 + - master
6 + paths:
7 + - "integrations/integrations.json"
8 +concurrency:
9 + group: website-trigger-${{ github.ref }}
10 + cancel-in-progress: true
11 +jobs:
12 + trigger:
13 + runs-on: ubuntu-latest
14 + if: github.repository == 'netdata/netdata'
15 + steps:
16 + - name: Trigger netdata/website update-integrations workflow
17 + uses: benc-uk/workflow-dispatch@v1
18 + with:
19 + token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
20 + repo: netdata/website
21 + workflow: Update integrations
22 + ref: refs/heads/master