Skip to content

Commit 56a2fe5

Browse files
Triggering preview from a different job didn't work, reverting
1 parent 5f8d199 commit 56a2fe5

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/docbuild-and-upload.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -88,23 +88,11 @@ jobs:
8888
path: web/build
8989
retention-days: 14
9090

91-
outputs:
92-
run_id: ${{ github.run_id }} # I assume run_id is different in different jobs, need to check
93-
94-
95-
preview_website:
96-
name: Preview website and docs
97-
runs-on: ubuntu-22.04
98-
needs: web_and_docs
99-
steps:
100-
10191
- name: Trigger web/doc preview
10292
run: |
10393
curl -X POST https://pandas.pydata.org/preview/submit/$RUN_ID/$PR_ID/
10494
echo "Preview docs for this PR at: https://pandas.pydata.org/preview/$PR_ID/"
105-
echo "This run id: $THIS_RUN_ID, other job run id: $RUN_ID"
10695
env:
107-
THIS_RUN_ID: ${{ github.run_id }}
108-
RUN_ID: ${{ needs.web_and_docs.outputs.run_id }}
96+
RUN_ID: ${{ github.run_id }}
10997
PR_ID: ${{ github.event.pull_request.number }}
11098
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)