Template fragments: show Author column to make it clear when you pull in content from non-bndtools / 3rd-party #539
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@91182cccc01eb5e619899d80e4e971d6181294a7 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- name: Git Checkout | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@c04af2bb7258bb6a03df1d3c1865998ac9390972 | |
with: | |
ruby-version: 2.7 | |
bundler-cache: true | |
working-directory: docs | |
- name: Build | |
run: | | |
./.github/scripts/docs.sh |