This is an automated email from the ASF dual-hosted git repository.
westonpace pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-cookbook.git
The following commit(s) were added to refs/heads/main by this push:
new 7a7b2b6 Add Apache publishing / hosting (#30)
7a7b2b6 is described below
commit 7a7b2b6391ecbb0d8bac6a434522e4c9520a3566
Author: Weston Pace <[email protected]>
AuthorDate: Mon Aug 16 00:54:24 2021 -1000
Add Apache publishing / hosting (#30)
* Add Apache publishing / hosting
* Adding asf-site to the destinations we push to
---
.asf.yaml | 4 ++++
.github/workflows/deploy_cookbooks.yml | 5 +++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 51a656d..16f6607 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -31,3 +31,7 @@ notifications:
commits: [email protected]
issues: [email protected]
pullrequests: [email protected]
+
+publish:
+ whoami: asf-site
+ subdir: cookbook
diff --git a/.github/workflows/deploy_cookbooks.yml
b/.github/workflows/deploy_cookbooks.yml
index c1539ba..3ca6101 100644
--- a/.github/workflows/deploy_cookbooks.yml
+++ b/.github/workflows/deploy_cookbooks.yml
@@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
needs: make_cookbooks
steps:
- - name: Checkout gh-pages branch
+ - name: Checkout repo
uses: actions/checkout@v2
with:
ref: gh-pages
@@ -41,7 +41,7 @@ jobs:
with:
name: build_book
path: .
- - name: Push changes to gh-pages branch
+ - name: Push changes to gh-pages/asf-site branch
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
@@ -49,3 +49,4 @@ jobs:
git add *
git commit -m 'publish built book'
git push -f origin gh-pages-tmp:gh-pages
+ git push -f origin gh-pages-tmp:asf-site