diff --git a/.github/workflows/generator-publish-sources.yaml b/.github/workflows/generator-publish-sources.yaml index 1a390e12..38bb1423 100644 --- a/.github/workflows/generator-publish-sources.yaml +++ b/.github/workflows/generator-publish-sources.yaml @@ -24,6 +24,10 @@ jobs: with: name: specs path: expediagroup/sdk/generator/package + - uses: actions/download-artifact@v3 + with: + name: docs + path: expediagroup/sdk/generator/package - name: Publish Code working-directory: expediagroup/sdk/generator/package run: | @@ -33,6 +37,7 @@ jobs: mkdir -p ../../../../release/"${{github.event.inputs.name}}" tar -xzf *.tar.gz rm *.tar.gz + cp -r ./docs ../../../../release/"${{github.event.inputs.name}}"/ find ./ -name \*.py -exec cp {} ../../../../release/"${{github.event.inputs.name}}"/ \; find ./ -name \*.yaml -exec cp {} ../../../../release/"${{github.event.inputs.name}}"/ \; git fetch --depth=1 origin main