Skip to content

dry run newer action #57

dry run newer action

dry run newer action #57

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 }}
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: public
dry_run: true