Skip to content

Merge pull request #6126 from bndtools/dependabot/github_actions/ruby… #428

Merge pull request #6126 from bndtools/dependabot/github_actions/ruby…

Merge pull request #6126 from bndtools/dependabot/github_actions/ruby… #428

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@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Git Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- name: Set up Ruby
uses: ruby/setup-ruby@6615b4b8a02c78c4d711c06df4b8a20aa685a45d
with:
ruby-version: 2.7
bundler-cache: true
working-directory: docs
- name: Build
run: |
./.github/scripts/docs.sh