Skip to content

ORC-1819: [FOLLOWUP] Fix baseurl parameter and more links #8

ORC-1819: [FOLLOWUP] Fix baseurl parameter and more links

ORC-1819: [FOLLOWUP] Fix baseurl parameter and more links #8

Workflow file for this run

#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
name: GitHub Pages deployment
on:
push:
branches:
- main
concurrency:
group: 'docs preview'
cancel-in-progress: false
jobs:
docs:
name: Build and deploy documentation
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
environment:
name: github-pages # https://github.com/actions/deploy-pages/issues/271
if: github.repository == 'apache/orc'
steps:
- name: Checkout ORC repository
uses: actions/checkout@v4
with:
repository: apache/orc
ref: 'main'
- name: Install Java 17
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- name: Install Ruby for documentation generation
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Run documentation build
run: |
cd site
gem install bundler -n /usr/local/bin
bundle install --retry=100
git clone https://github.com/apache/orc.git -b asf-site target
bundle exec jekyll build -b /orc
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'site/target'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4