Skip to content

Commit

Permalink
fix published files names in dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
mobileskyfi authored May 22, 2024
1 parent 12e448c commit 6b1ba97
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/manual-using-docker-in-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
run: |
bun install js-yaml raml2html raml2html-slate-theme
bun rest2raml.js ${{ github.event.inputs.start_path }}
./node_modules/.bin/raml2html -v --theme raml2html-slate-theme ros-rest*.raml > ros-rest-generated.html
./node_modules/.bin/raml2html -v --theme raml2html-slate-theme ros-rest*.raml > index.html
- name: Validate RAML 1.0 using webapi-parse library
run: |
Expand All @@ -111,11 +111,13 @@ jobs:
run: |
echo ${{ steps.connection-check.outputs.rosver }}
echo $ROS_FILTER
ROS_FILTER=$(echo ${{ github.event.inputs.start_path }} | tr ' ' '/')
ROS_FILTER=$(echo ${{ github.event.inputs.start_path }} | tr ' ' '+')
DOCS_PATH=docs/${{ steps.connection-check.outputs.rosver }}/$ROS_FILTER
echo $DOCS_PATH
mkdir -p $DOCS_PATH
cp ros-* $DOCS_PATH
mkdir -p $DOCS_PATH/docs
cp index.html $DOCS_PATH/docs
cp ros-rest*.raml $DOCS_PATH/schema.raml
cp ros-inspect*.json $DOCS_PATH/inspect.json
echo "subpath=$ROS_FILTER" >> $GITHUB_OUTPUT
ls -r
Expand All @@ -134,9 +136,9 @@ jobs:
with:
name: build-results
path: |
ros-rest*
ros-inspect*
ros-rest-generated*
ros-rest*.raml
ros-inspect*.json
index.html
- name: Cleanup Running Docker
run: docker-compose down

0 comments on commit 6b1ba97

Please sign in to comment.