Skip to content

Support Eclipse features on -buildpath and container paths (#7322) #1581

Support Eclipse features on -buildpath and container paths (#7322)

Support Eclipse features on -buildpath and container paths (#7322) #1581

Workflow file for this run

name: 'Docs Build'
on:
push:
branches-ignore:
- 'dependabot/**'
paths:
- 'docs/**'
- '.github/**/*docs*'
pull_request:
paths:
- 'docs/**'
- '.github/**/*docs*'
workflow_dispatch:
env:
LC_ALL: en_US.UTF-8
defaults:
run:
shell: bash
permissions:
contents: read
pages: write
id-token: write
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@bf7454d06d71f1098171f2acdf0cd4708d7b5920
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Git Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Set up Ruby
uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b
with:
ruby-version: 3.4.5
bundler-cache: true
working-directory: docs
- name: Build
run: |
./.github/scripts/docs.sh
- name: Upload artifact
id: deployment
# uploads an artifact from the './docs/_site' directory
uses: actions/upload-pages-artifact@v5
with:
path: docs/_site
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: docs
if: github.ref == 'refs/heads/master' # <= Restrict deploy to master
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5