kou commented on code in PR #713:
URL: https://github.com/apache/arrow-site/pull/713#discussion_r2412510347
##########
.github/workflows/devdocs.yml:
##########
@@ -57,19 +62,24 @@ jobs:
- name: Identify latest doc build
run: |
- echo "::set-output name=LATEST::$(archery crossbow latest-prefix
--no-fetch nightly-tests)"
- id: build
+ echo "LATEST=$(archery crossbow latest-prefix --no-fetch
nightly-tests)" >> "${GITHUB_ENV}"
- name: Download the crossbow docs artifact
run: |
- archery crossbow --queue-path ./crossbow download-artifacts
--no-fetch --task-filter "*docs" --target-dir downloads ${{
steps.build.outputs.LATEST }}
+ archery crossbow \
+ --queue-path ./crossbow \
+ download-artifacts \
+ --no-fetch \
+ --task-filter "*docs" \
+ --target-dir downloads \
+ ${LATEST}
Review Comment:
This is not a needed change. This just stop using deprecate `::set-output`.
##########
.github/workflows/devdocs.yml:
##########
@@ -28,7 +34,6 @@ permissions:
jobs:
devdocs:
name: Fetch and upload dev docs
- if: github.repository == 'apache/arrow-site'
Review Comment:
This is for testing on PR and fork.
##########
.github/workflows/devdocs.yml:
##########
@@ -79,6 +89,15 @@ jobs:
mkdir -p docs/dev
tar -xvzf ../downloads/${{ steps.build.outputs.LATEST
}}/test-debian-*-docs/docs.tar.gz -C docs/dev --strip-components=1
cp docs/c_glib/index.html docs/dev/c_glib/index.html
+ git status --porcelain
+
+ - name: Publish docs
+ if: >-
+ github.repository == 'apache/arrow-site' &&
+ (github.event_name == 'workflow_dispatch' ||
+ github.event_name == 'schedule')
Review Comment:
Upload docs only on apache/arrow-site.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]