This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-site.git
The following commit(s) were added to refs/heads/main by this push:
new 55ad3aaeb66 Fix dev-docs workflow (#399)
55ad3aaeb66 is described below
commit 55ad3aaeb66f87d10685925517ed0aa209e91d06
Author: Jacob Wujciak-Jens <[email protected]>
AuthorDate: Fri Sep 8 03:37:23 2023 +0200
Fix dev-docs workflow (#399)
The underlying crossbow job and thus artifact name, changed causing the
job to fail. This PR adds a wild card to prepare for future changes in
ubuntu version used for the doc as well as restoring function. Tested in
my fork
https://github.com/apache/arrow-site/actions/runs/6116092199/job/16600761337
---
.github/workflows/devdocs.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/devdocs.yml b/.github/workflows/devdocs.yml
index 785e9901550..c78b8e69cdf 100644
--- a/.github/workflows/devdocs.yml
+++ b/.github/workflows/devdocs.yml
@@ -22,6 +22,9 @@ on:
schedule:
- cron: '0 0 * * *'
+permissions:
+ contents: write
+
jobs:
devdocs:
name: Fetch and upload dev docs
@@ -73,7 +76,7 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
mkdir -p docs/dev
- tar -xvzf ../downloads/${{ steps.build.outputs.LATEST
}}/test-ubuntu-default-docs/docs.tar.gz -C docs/dev --strip-components=1
+ tar -xvzf ../downloads/${{ steps.build.outputs.LATEST
}}/test-ubuntu-*-docs/docs.tar.gz -C docs/dev --strip-components=1
cp docs/c_glib/index.html docs/dev/c_glib/index.html
if [ "$(git status --porcelain)" != "" ]; then
# There are changes to the dev docs