Skip to content

Commit

Permalink
add job to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonieFierz committed Jan 3, 2025
1 parent 8591722 commit 6af2c42
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/pyhton.build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
run: python3 setup.py sdist
- uses: actions/upload-artifact@v4
with:
name: source_dist
name: py_source_dist
path: python-wrapper/dist/**
if-no-files-found: error
build_pages:
Expand Down Expand Up @@ -139,6 +139,24 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: python-wrapper/docs/_build/html
deploy_pypi:
runs-on: "ubuntu-22.04""
needs: ["py3p8_linux_sdist", "build"]
steps:
- uses: actions/download-artifact@v4
with:
path: python-wrapper/dist
merge-multiple: true
name: py_source_dist
- uses: actions/download-artifact@v4
with:
path: python-wrapper/dist
merge-multiple: true
pattern: py_*_*_build
- name: check artifacts
run:
cd python-wrapper
ls
deploy_pages:
runs-on: "ubuntu-22.04"
needs: build_pages
Expand Down

0 comments on commit 6af2c42

Please sign in to comment.