File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -88,11 +88,23 @@ jobs:
88
88
path : web/build
89
89
retention-days : 14
90
90
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
+
91
101
- name : Trigger web/doc preview
92
102
run : |
93
103
curl -X POST https://pandas.pydata.org/preview/submit/$RUN_ID/$PR_ID/
94
104
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"
95
106
env :
96
- RUN_ID : ${{ github.run_id }}
107
+ THIS_RUN_ID : ${{ github.run_id }}
108
+ RUN_ID : ${{ needs.web_and_docs.outputs.run_id }}
97
109
PR_ID : ${{ github.event.pull_request.number }}
98
110
if : github.event_name == 'pull_request'
You can’t perform that action at this time.
0 commit comments