Skip to content

Merge pull request #5757 from bndtools/dependabot/bundler/docs/active… #309

Merge pull request #5757 from bndtools/dependabot/bundler/docs/active…

Merge pull request #5757 from bndtools/dependabot/bundler/docs/active… #309

Workflow file for this run

name: 'Docs Build'
on:
push:
branches-ignore:
- 'dependabot/**'
paths:
- 'docs/**'
- '.github/**/*docs*'
pull_request:
paths:
- 'docs/**'
- '.github/**/*docs*'
env:
LC_ALL: en_US.UTF-8
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
docs:
name: GitHub Pages
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: Gemfile
BUNDLE_PATH: vendor/bundle
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Git Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Set up Ruby
uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939
with:
ruby-version: 2.7
bundler-cache: true
working-directory: docs
- name: Build
run: |
./.github/scripts/docs.sh