Skip to content

Version Plugin Reference #1459

Version Plugin Reference

Version Plugin Reference #1459

Workflow file for this run

name: Version Plugin Reference
on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: jruby
- uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4
with:
distribution: 'temurin'
java-version: '17'
- name: Clone elastic/docs-tools
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
repository: elastic/docs-tools
path: docs-tools
fetch-depth: 1
- name: Clone elastic/logstash-docs
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
repository: elastic/logstash-docs
path: logstash-docs
ref: versioned_plugin_docs
fetch-depth: 1
- name: Setup git user
working-directory: ./docs-tools
run: |
git config --global user.email [email protected]
git config --global user.name logstashmachine
- run: bundle install
working-directory: ./docs-tools
- name: Generate plugin versions
working-directory: ./docs-tools
run: bundle exec ruby versioned_plugins.rb --repair --skip-existing --output-path=../
env:
JRUBY_OPTS: "-J-Xmx4g"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}