Skip to content

Commit f6d3b05

Browse files
authored
[CI] Add manual trigger for updating Github pages to sycl-docs.yml (#20038)
I made PR #20026 yesterday to fix a bug in the benchmarking CI dashboard, but looks like my changes were not deployed onto Github pages. This PR: - Adds benchmarking dashboard to the list of paths in workflow triggers - Adds a manual trigger to sycl-docs.yml, allowing people to manually trigger a github pages update if necessary in the future
1 parent 59dafb2 commit f6d3b05

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/sycl-docs.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,24 @@ on:
1010
- '.github/workflows/sycl-docs.yml'
1111
- 'clang/docs/**'
1212
- 'sycl/doc/**'
13+
- 'devops/benchmarks/scripts/html/**'
1314
push:
1415
branches:
1516
- sycl
1617
paths:
1718
- '.github/workflows/sycl-docs.yml'
1819
- 'clang/docs/**'
1920
- 'sycl/doc/**'
21+
- 'devops/benchmarks/scripts/html/**'
22+
workflow_dispatch:
23+
inputs:
24+
update_gh_pages:
25+
type: choice
26+
description: Update Github Pages
27+
options:
28+
- true
29+
- false
30+
default: true
2031

2132
permissions:
2233
contents: read
@@ -62,5 +73,5 @@ jobs:
6273
with:
6374
path: ./install_docs
6475
- name: Deploy to GitHub Pages
65-
if: ${{ github.event_name == 'push' }}
76+
if: ${{ github.event_name == 'push' || inputs.update_gh_pages == 'true' }}
6677
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)