Skip to content

Merge pull request #6148 from bndtools/dependabot/github_actions/acti… #450

Merge pull request #6148 from bndtools/dependabot/github_actions/acti…

Merge pull request #6148 from bndtools/dependabot/github_actions/acti… #450

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