Skip to content

[Snyk] Security upgrade jekyll from 4.0.0 to 4.0.1 #33

[Snyk] Security upgrade jekyll from 4.0.0 to 4.0.1

[Snyk] Security upgrade jekyll from 4.0.0 to 4.0.1 #33

Workflow file for this run

name: Ruby
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["2.6"]
env:
PROJECT_ID: ${{ secrets.PROJECT_ID }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Update gems
run: gem update --system
- name: Install required packages
run: gem install jekyll bundler kontent-jekyll
- name: Build the output
run: bundle exec jekyll build
env:
JEKYLL_ENV: production
- name: Deploy 🚀
if: github.ref == 'refs/heads/master'
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: _site
CLEAN: true # Automatically remove deleted files from the deploy branch