This is an automated email from the ASF dual-hosted git repository. ctubbsii pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/accumulo-website.git
The following commit(s) were added to refs/heads/main by this push: new 9ee08df Migrate to GitHub Actions for CI 9ee08df is described below commit 9ee08dffb97438cb9178cdf44f895774395e8c41 Author: Christopher Tubbs <ctubb...@apache.org> AuthorDate: Wed Aug 26 12:21:19 2020 -0400 Migrate to GitHub Actions for CI --- .github/workflows/jekyll.yaml | 50 +++++++++++++++++++++++++++++++++++++++++++ Gemfile.lock | 4 ++-- _config.yml | 1 + _devtools/cibuild | 5 ----- 4 files changed, 53 insertions(+), 7 deletions(-) diff --git a/.github/workflows/jekyll.yaml b/.github/workflows/jekyll.yaml new file mode 100644 index 0000000..8b8a850 --- /dev/null +++ b/.github/workflows/jekyll.yaml @@ -0,0 +1,50 @@ +# +# 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: QA + +on: + push: + branches: [ 'main' ] + pull_request: + branches: [ 'main' ] + +jobs: + jekyll: + timeout-minutes: 5 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby + uses: actions/setup-ruby@v1 + with: + ruby-version: 2.6 + - name: Test site build + run: | + ruby --version + gem install bundler + bundler install --jobs 4 --retry 3 + bundle exec jekyll build + - name: Upload site + uses: actions/upload-artifact@v2 + with: + name: site + path: ./_site/ + if-no-files-found: ignore + diff --git a/Gemfile.lock b/Gemfile.lock index 97291c6..87b477e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -4,7 +4,7 @@ GEM addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) colorator (1.1.0) - concurrent-ruby (1.1.6) + concurrent-ruby (1.1.7) em-websocket (0.5.1) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) @@ -53,7 +53,7 @@ GEM ffi (~> 1.0) ref (2.0.0) rexml (3.2.4) - rouge (3.21.0) + rouge (3.22.0) safe_yaml (1.0.5) sassc (2.4.0) ffi (~> 1.9) diff --git a/_config.yml b/_config.yml index 8c55bc2..73917f9 100644 --- a/_config.yml +++ b/_config.yml @@ -6,6 +6,7 @@ # 'jekyll serve'. If you change this file, please restart the server process. # Site settings +safe: false title: Apache Accumuloâ„¢ email: d...@accumulo.apache.org description: > # this means to ignore newlines until "url:" diff --git a/_devtools/cibuild b/_devtools/cibuild deleted file mode 100755 index 6d7f749..0000000 --- a/_devtools/cibuild +++ /dev/null @@ -1,5 +0,0 @@ -#! /usr/bin/env bash -set -e # halt script on error - -bundle exec jekyll build -