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 24288c9 commit dc20690
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/generator-publish-sources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,14 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: docs
path: expediagroup/sdk/generator/package
path: expediagroup/sdk/generator/package/docs
- name: Publish Code
working-directory: expediagroup/sdk/generator/package
run: |
rm -rf ../../../../release/"${{github.event.inputs.name}}"
mkdir -p ../../../../release/"${{github.event.inputs.name}}"
tar -xzf *.tar.gz
rm *.tar.gz
echo "separator"
pwd
ls
echo "separator"
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}}"/ \;
Expand Down

0 comments on commit dc20690

Please sign in to comment.