mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Remove GitHub Action to build Jekyll (#19507)
This commit is contained in:
parent
4a15998b86
commit
91eb979eed
36
.github/workflows/test.yml
vendored
36
.github/workflows/test.yml
vendored
@ -49,39 +49,3 @@ jobs:
|
|||||||
CI: true
|
CI: true
|
||||||
- name: Run textlint
|
- name: Run textlint
|
||||||
run: npm run textlint
|
run: npm run textlint
|
||||||
build:
|
|
||||||
name: Jekyll build
|
|
||||||
runs-on: ubuntu-18.04
|
|
||||||
needs: [markdown-lint]
|
|
||||||
steps:
|
|
||||||
- name: Check out files from GitHub
|
|
||||||
uses: actions/checkout@v2.3.4
|
|
||||||
- name: Setting up Ruby 2.7
|
|
||||||
uses: ruby/setup-ruby@v1.82.0
|
|
||||||
with:
|
|
||||||
ruby-version: 2.7
|
|
||||||
- name: Setup Ruby Gems cache
|
|
||||||
uses: actions/cache@v2.1.6
|
|
||||||
with:
|
|
||||||
path: vendor/bundle
|
|
||||||
key: gems-${{ hashFiles('**/Gemfile.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
gems-
|
|
||||||
- name: Installing dependencies
|
|
||||||
run: |
|
|
||||||
gem install bundler -v 2.2.28
|
|
||||||
bundle config path vendor/bundle
|
|
||||||
bundle install --jobs 4 --retry 3
|
|
||||||
- name: Setting up Jekyll cache
|
|
||||||
uses: actions/cache@v2.1.6
|
|
||||||
with:
|
|
||||||
path: source/.jekyll-cache
|
|
||||||
key:
|
|
||||||
jekyll-${{ hashFiles('**/Gemfile.lock') }}-${{
|
|
||||||
hashFiles('**/_config.yml') }}
|
|
||||||
restore-keys: |
|
|
||||||
jekyll-${{ hashFiles('**/Gemfile.lock') }}-
|
|
||||||
jekyll-
|
|
||||||
- name: Building site
|
|
||||||
run: |
|
|
||||||
bundle exec rake generate
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user