File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,25 +2,36 @@ name: Trigger documentation publish
22
33on :
44 push :
5- branches : [main]
6- paths : ['docs/**']
75 tags : ['v*']
6+ workflow_run :
7+ workflows : [Build]
8+ types : [completed]
9+ branches : [main]
810
911jobs :
1012 dispatch :
1113 runs-on : ubuntu-latest
14+ if : >-
15+ github.event_name == 'push'
16+ || github.event.workflow_run.conclusion == 'success'
1217
1318 steps :
1419 - name : Fire repository_dispatch to site repo
1520 env :
1621 GH_TOKEN : ${{ secrets.DOCS_DISPATCH_TOKEN }}
17- VERSION : ${{ github.ref_name }}
1822 run : |
19- if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
20- VERSION_LABEL="${VERSION#v}"
23+ if [ "${{ github.event_name }}" = "push" ]; then
24+ REF="${{ github.ref_name }}"
25+ SHA="${{ github.sha }}"
26+ else
27+ REF="${{ github.event.workflow_run.head_branch }}"
28+ SHA="${{ github.event.workflow_run.head_sha }}"
29+ fi
30+ if [[ "$REF" == v* ]]; then
31+ VERSION_LABEL="${REF#v}"
2132 else
2233 VERSION_LABEL="dev"
2334 fi
2435 gh api repos/hardwood-hq/hardwood-hq.github.io/dispatches \
2536 -f event_type=publish-docs \
26- -f "client_payload={\"source_ref\":\"${{ github.sha }} \",\"version\":\"$VERSION_LABEL\",\"update_latest\":true}"
37+ -f "client_payload={\"source_ref\":\"$SHA \",\"version\":\"$VERSION_LABEL\",\"update_latest\":true}"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Goals of the project are:
1717
1818* ** Light-weight:** Implement the Parquet file format avoiding any 3rd party dependencies other than for compression algorithms (e.g. Snappy)
1919* ** Correct:** Support all Parquet files which are supported by the canonical [ parquet-java] ( https://github.com/apache/parquet-java ) library
20- * ** Fast:** As fast or faster as parquet-java
20+ * ** Fast:** Be as fast or faster as parquet-java
2121* ** Complete:** Add a Parquet file writer (after 1.0)
2222
2323Latest version: 1.0.0.Alpha1, 2026-02-26
You can’t perform that action at this time.
0 commit comments