mirror of
https://github.com/netdata/netdata.git
synced 2025-04-06 22:38:55 +00:00
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
This commit is contained in:
parent
8fa34d8c25
commit
2956244a2a
1 changed files with 22 additions and 0 deletions
22
.github/workflows/update-website.yml
vendored
Normal file
22
.github/workflows/update-website.yml
vendored
Normal 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
|
Loading…
Add table
Reference in a new issue