Skip to content

Commit

Permalink
Add GitHub workflow (netdata#18128)
Browse files Browse the repository at this point in the history
* Add workflow that dispatched website update

* Fix typo

* Change step name

* Added concurrency, repo conditional and changed github token

* Avoid using curl
  • Loading branch information
kapantzak authored Dec 11, 2024
1 parent 8fa34d8 commit 2956244
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/update-website.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2956244

Please sign in to comment.