Skip to content

Commit

Permalink
Restructure directory for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen Jones committed Jul 27, 2023
1 parent a73e975 commit 18b090d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,21 @@ jobs:
workflow: build.yml
path: ./dist
github_token: ${{ secrets.GITHUB_TOKEN }}

# Test step for debugging
- name: Display structure of downloaded files
run: ls -R
working-directory: ./dist

- name: Move contents of directories to root of dist
run: |
mv -f ./dist/${{ github.event.release.name }}-wheels/* ./dist
rm -rf ./dist/${{ github.event.release.name }}-wheels
mv -f ./dist/${{ github.event.release.name }}-sdist/* ./dist
rm -rf ./dist/${{ github.event.release.name }}-sdist
working-directory: ./dist
# Test step for debugging
- name: Display structure of downloaded files
run: ls -R
working-directory: ./dist
Expand Down

0 comments on commit 18b090d

Please sign in to comment.