Skip to content

[Snyk] Security upgrade sinatra from 2.0.5 to 2.0.6 #30

[Snyk] Security upgrade sinatra from 2.0.5 to 2.0.6

[Snyk] Security upgrade sinatra from 2.0.5 to 2.0.6 #30

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