Skip to content
Permalink
Browse files
Add Apache publishing / hosting (#30)
* Add Apache publishing / hosting

* Adding asf-site to the destinations we push to
  • Loading branch information
westonpace committed Aug 16, 2021
1 parent 02bbd0e commit 7a7b2b6391ecbb0d8bac6a434522e4c9520a3566
Showing 2 changed files with 7 additions and 2 deletions.
@@ -31,3 +31,7 @@ notifications:
commits: commits@arrow.apache.org
issues: github@arrow.apache.org
pullrequests: github@arrow.apache.org

publish:
whoami: asf-site
subdir: cookbook
@@ -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,11 +41,12 @@ 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 'actions@github.com'
git checkout --orphan gh-pages-tmp
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

0 comments on commit 7a7b2b6

Please sign in to comment.