Skip to content

Commit 68bb525

Browse files
committed
fix: correct path for plugin transformation script
1 parent df70b08 commit 68bb525

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/sync-plugins.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,21 +175,21 @@ jobs:
175175
- name: Transform plugin documentation
176176
if: steps.validate.outputs.validation_passed == 'true'
177177
run: |
178-
cd docs-v2
179-
178+
cd docs-v2/helper-scripts/influxdb3-plugins
179+
180180
# Set PLUGIN_DIR for the transformation script
181-
export INFLUXDB3_PLUGINS_PATH="../influxdb3_plugins"
182-
181+
export INFLUXDB3_PLUGINS_PATH="../../../.ext/influxdb3_plugins"
182+
183183
# Run the transformation
184184
if [[ "${{ steps.inputs.outputs.plugins }}" == "all" ]]; then
185-
node helper-scripts/influxdb3-plugins/port_to_docs.js
185+
node port_to_docs.js
186186
else
187187
# Transform specific plugins
188188
IFS=',' read -ra PLUGIN_ARRAY <<< "${{ steps.inputs.outputs.plugins }}"
189189
for plugin in "${PLUGIN_ARRAY[@]}"; do
190190
plugin=$(echo "$plugin" | xargs) # trim whitespace
191191
echo "Transforming plugin: $plugin"
192-
node helper-scripts/influxdb3-plugins/port_to_docs.js --plugin "$plugin"
192+
node port_to_docs.js --plugin "$plugin"
193193
done
194194
fi
195195

0 commit comments

Comments
 (0)