Skip to content

Commit

Permalink
Merge pull request #2245 from headlamp-k8s/trigger-website-build-on-d…
Browse files Browse the repository at this point in the history
…ocs-change

github: Add workflow to trigger website build on docs/ update
  • Loading branch information
joaquimrocha authored Aug 21, 2024
2 parents a13570d + a0d49d9 commit 3181967
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/trigger-website-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Trigger Headlamp website update

# See https://github.com/headlamp-k8s/headlamp-website
on:
push:
paths:
- 'docs/**'
workflow_dispatch:

permissions:
contents: read

jobs:
trigger_flatpak_update:
name: Trigger Headlamp website update
runs-on: ubuntu-latest
steps:
- name: Trigger via gh
env:
GITHUB_TOKEN: ${{ secrets.KINVOLK_REPOS_TOKEN }}
run: |
gh api repos/flathub/io.kinvolk.Headlamp/dispatches --raw-field event_type=headlamp-docs-update

0 comments on commit 3181967

Please sign in to comment.