Improve code quality #163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
- main | |
workflow_dispatch: | |
name: jekyll-profile | |
jobs: | |
jekyll-profile: | |
runs-on: ubuntu-latest | |
env: | |
JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.6 | |
bundler-cache: true | |
working-directory: 'docs' | |
- name: Run jekyll-profile | |
run: | | |
# Run Jekyll Profile | |
cd docs | |
# Bundle install | |
echo "::group::Jekyll folder" | |
echo "Building Jekyll from: $PWD" | |
echo "::endgroup::" | |
# Updating Bundle | |
echo "::group::Bundle Update" | |
bundle update | |
echo "::endgroup::" | |
# Jekyll Profile | |
echo "::group::Jekyll Profile" | |
bundle exec jekyll build --incremental --profile >> $GITHUB_STEP_SUMMARY | |
echo "::endgroup::" | |
shell: bash |