Skip to content

Commit 6ee4b60

Browse files
committed
[TEMP][DO NOT MERGE] Trigger pages.yml on the fork branch for validation
Temporarily run the GitHub Pages workflow on the fork to validate the container-based doc build: trigger on push to this branch, drop the apache/spark job guard, and skip the Pages configure/deploy steps on the fork. To be reverted before merge.
1 parent 8d0c138 commit 6ee4b60

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/pages.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ on:
2323
push:
2424
branches:
2525
- master
26+
# TEMP: validate this workflow on the fork, remove before merge
27+
- pages-reuse-doc-image-dev1
2628

2729
concurrency:
2830
group: 'docs preview'
@@ -44,7 +46,7 @@ jobs:
4446
RELEASE_VERSION: 'In-Progress'
4547
LC_ALL: C.UTF-8
4648
LANG: C.UTF-8
47-
if: github.repository == 'apache/spark'
49+
# TEMP: job-level repository guard removed to run on the fork, restore before merge
4850
steps:
4951
- name: Checkout Spark repository
5052
uses: actions/checkout@v6
@@ -78,11 +80,15 @@ jobs:
7880
cd docs
7981
SKIP_RDOC=1 bundle exec jekyll build
8082
- name: Setup Pages
83+
# TEMP: skip Pages API calls on the fork (Pages not enabled there), remove the if before merge
84+
if: github.repository == 'apache/spark'
8185
uses: actions/configure-pages@v6
8286
- name: Upload artifact
8387
uses: actions/upload-pages-artifact@v5
8488
with:
8589
path: 'docs/_site'
8690
- name: Deploy to GitHub Pages
91+
# TEMP: skip deployment on the fork, remove the if before merge
92+
if: github.repository == 'apache/spark'
8793
id: deployment
8894
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)