0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-06 22:38:55 +00:00

Add GitHub workflow ()

* Add workflow that dispatched website update

* Fix typo

* Change step name

* Added concurrency, repo conditional and changed github token

* Avoid using curl
This commit is contained in:
John Kapantzakis 2024-12-11 17:14:19 +02:00 committed by GitHub
parent 8fa34d8c25
commit 2956244a2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

22
.github/workflows/update-website.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Update website
on:
push:
branches:
- master
paths:
- "integrations/integrations.json"
concurrency:
group: website-trigger-${{ github.ref }}
cancel-in-progress: true
jobs:
trigger:
runs-on: ubuntu-latest
if: github.repository == 'netdata/netdata'
steps:
- name: Trigger netdata/website update-integrations workflow
uses: benc-uk/workflow-dispatch@v1
with:
token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
repo: netdata/website
workflow: Update integrations
ref: refs/heads/master