Skip to content

Commit

Permalink
feat(workflows): Upload Generated Docs
Browse files Browse the repository at this point in the history
Upload Generated Docs
  • Loading branch information
osama-salman99 committed Oct 4, 2023
1 parent 312c1a9 commit f957597
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/generator-publish-sources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit f957597

Please sign in to comment.