From f957597f345705b6ab18040d9399ea277c4d4943 Mon Sep 17 00:00:00 2001 From: Osama Salman Date: Wed, 4 Oct 2023 12:51:52 +0300 Subject: [PATCH] feat(workflows): Upload Generated Docs Upload Generated Docs --- .github/workflows/generator-publish-sources.yaml | 5 +++++ 1 file changed, 5 insertions(+) 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