Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix version_plugin_docs_to_md.yml #1820

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 18 additions & 10 deletions .github/workflows/version_plugin_docs_to_md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
repository: elastic/docs
ref: master
path: docs
persist-credentials: false
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
repository: elastic/adoc-to-md
ref: ci-adjustments
path: adoc-to-md
token: ${{ secrets.ADOC_TO_MD_PAT }}
persist-credentials: false
Expand All @@ -41,16 +43,22 @@ jobs:
persist-credentials: false

- name: Create docker image
working-directory: ./adoc-to-md/src/docker
run: ./create_image.sh

run: |
cd ./adoc-to-md/src/docker
./create_image.sh

- name: Debug
run: ls logstash-docs/docs/versioned-plugins

- name: Migrate
working-directory: ./asciidocalypse/migration-zone/logstash-versioned-plugins/scripts
run: ./migrate.sh
run: |
cd ./asciidocalypse/migration-zone/logstash-versioned-plugins/scripts
./migrate.sh

- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
with:
name: migrated-docs
if-no-files-found: error
retention-days: 1
path: asciidocalypse/migration-zone/logstash-versioned-plugins
# - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
# with:
# name: migrated-docs
# if-no-files-found: error
# retention-days: 1
# path: asciidocalypse/migration-zone/logstash-versioned-plugins
Loading