This is an automated email from the ASF dual-hosted git repository.

paleolimbot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-nanoarrow.git


The following commit(s) were added to refs/heads/main by this push:
     new c5285ac  chore: Publish dev docs to asf-site branch instead of 
gh-pages (#277)
c5285ac is described below

commit c5285ac637f69e82be48d71e8dc86ce879921d5e
Author: Dewey Dunnington <[email protected]>
AuthorDate: Wed Aug 16 18:38:46 2023 -0300

    chore: Publish dev docs to asf-site branch instead of gh-pages (#277)
    
    Now that the documentation is hosted at
    https://arrow.apache.org/nanoarrow via the asf-site branch, the dev
    documentation should be there, too.
---
 .asf.yaml                   | 4 +---
 .github/workflows/docs.yaml | 8 +++-----
 README.md                   | 2 +-
 r/README.Rmd                | 2 +-
 r/README.md                 | 2 +-
 5 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 385899b..515ce77 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -18,13 +18,11 @@
 
 github:
   description: "Helpers for Arrow C Data & Arrow C Stream interfaces"
-  homepage: https://arrow.apache.org/
+  homepage: https://arrow.apache.org/nanoarrow
   enabled_merge_buttons:
     squash:  true
   features:
     issues: true
-  ghp_branch: gh-pages
-  ghp_path: ~
 
 notifications:
   commits:      [email protected]
diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml
index 942435c..5116012 100644
--- a/.github/workflows/docs.yaml
+++ b/.github/workflows/docs.yaml
@@ -53,17 +53,17 @@ jobs:
           name: nanarrow-docs
           path: docs/_build/html
 
-      - name: Clone gh-pages branch
+      - name: Clone asf-site branch
         if: success() && github.repository == 'apache/arrow-nanoarrow' && 
github.ref == 'refs/heads/main'
         uses: actions/checkout@v2
         with:
-          ref: gh-pages
+          ref: asf-site
           path: pages-clone
 
       - name: Update development documentation
         if: success() && github.repository == 'apache/arrow-nanoarrow' && 
github.ref == 'refs/heads/main'
         env:
-          DOC_TAG: "dev"
+          DOC_TAG: "main"
         run: |
           git config --global user.email "[email protected]"
           git config --global user.name "GitHub Actions"
@@ -73,8 +73,6 @@ jobs:
           fi
           mkdir "$DOC_TAG"
           cp -R ../docs/_build/html/* "$DOC_TAG"
-          touch .nojekyll
-          git add .nojekyll
           git add *
           git commit --allow-empty -m"update documentation for tag $DOC_TAG"
           git push
diff --git a/README.md b/README.md
index e7c806f..90fc686 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@
 # nanoarrow
 
 [![Codecov test 
coverage](https://codecov.io/gh/apache/arrow-nanoarrow/branch/main/graph/badge.svg)](https://app.codecov.io/gh/apache/arrow-nanoarrow?branch=main)
-[![Documentation](https://img.shields.io/badge/Documentation-dev-yellow)](https://apache.github.io/arrow-nanoarrow/dev)
+[![Documentation](https://img.shields.io/badge/Documentation-main-yellow)](https://arrow.apache.org/nanoarrow/main)
 [![nanoarrow on 
GitHub](https://img.shields.io/badge/GitHub-apache%2Farrow--nanoarrow-blue)](https://github.com/apache/arrow-nanoarrow)
 
 The nanoarrow library is a set of helper functions to interpret and generate
diff --git a/r/README.Rmd b/r/README.Rmd
index 9715995..d56c157 100644
--- a/r/README.Rmd
+++ b/r/README.Rmd
@@ -37,7 +37,7 @@ knitr::opts_chunk$set(
 <!-- badges: start -->
 <!-- badges: end -->
 
-The goal of nanoarrow is to provide minimal useful bindings to the [Arrow C 
Data](https://arrow.apache.org/docs/format/CDataInterface.html) and [Arrow C 
Stream](https://arrow.apache.org/docs/format/CStreamInterface.html) interfaces 
using the [nanoarrow C library](https://apache.github.io/arrow-nanoarrow/).
+The goal of nanoarrow is to provide minimal useful bindings to the [Arrow C 
Data](https://arrow.apache.org/docs/format/CDataInterface.html) and [Arrow C 
Stream](https://arrow.apache.org/docs/format/CStreamInterface.html) interfaces 
using the [nanoarrow C library](https://arrow.apache.org/nanoarrow).
 
 ## Installation
 
diff --git a/r/README.md b/r/README.md
index be02d5a..64a94ec 100644
--- a/r/README.md
+++ b/r/README.md
@@ -29,7 +29,7 @@ The goal of nanoarrow is to provide minimal useful bindings 
to the
 and [Arrow C
 Stream](https://arrow.apache.org/docs/format/CStreamInterface.html)
 interfaces using the [nanoarrow C
-library](https://apache.github.io/arrow-nanoarrow/).
+library](https://arrow.apache.org/nanoarrow).
 
 ## Installation
 

Reply via email to