Skip to content

Merge pull request #98 from beer-garden/dependabot/bundler/git-1.13.1 #56

Merge pull request #98 from beer-garden/dependabot/bundler/git-1.13.1

Merge pull request #98 from beer-garden/dependabot/bundler/git-1.13.1 #56

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
# For Testing Code Only
#on: pull_request
jobs:
deploy:
runs-on: ubuntu-latest
container: ruby:2.7.2
name: Build and Deploy Beer-Garden.io
steps:
- uses: actions/checkout@v2
- name: Cache Bundler
uses: actions/cache@v2
with:
path: .cache/bundler
key: ${{ runner.os }}-bundler-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-bundler
- name: Bundle Install
run: |
bundle config set path .cache/bundler
bundle install
- name: Build Site
run: rake gen[github]
env:
NOKOGIRI_USE_SYSTEM_LIBRARIES: true
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: public
env:
GITHUB_TOKEN: ${{ secrets.BUILDBOT_PAGES }}