File tree Expand file tree Collapse file tree 2 files changed +27
-10
lines changed
Expand file tree Collapse file tree 2 files changed +27
-10
lines changed Original file line number Diff line number Diff line change 1+ name : webviz-subsurface
2+
3+ on :
4+ release :
5+ types :
6+ - published
7+
8+ jobs :
9+ webviz-subsurface :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : 📖 Checkout commit locally
13+ uses : actions/checkout@v4
14+
15+ - name : 🐍 Set up Python ${{ matrix.python-version }}
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : " 3.11"
19+
20+ - name : 🚢 Build and deploy Python package
21+ env :
22+ TWINE_USERNAME : __token__
23+ TWINE_PASSWORD : ${{ secrets.pypi_webviz_token }}
24+ run : |
25+ python -m pip install --upgrade build twine
26+ python -m build
27+ twine upload dist/*
Original file line number Diff line number Diff line change @@ -129,16 +129,6 @@ jobs:
129129 echo ${{ secrets.review_docker_registry_token }} | docker login ${{ secrets.review_docker_registry_url }} --username ${{ secrets.review_docker_registry_username }} --password-stdin
130130 docker push ${{ secrets.review_docker_registry_url }}/${{ secrets.review_container_name }}
131131
132- - name : 🚢 Build and deploy Python package
133- if : github.event_name == 'release' && matrix.python-version == '3.11'
134- env :
135- TWINE_USERNAME : __token__
136- TWINE_PASSWORD : ${{ secrets.pypi_webviz_token }}
137- run : |
138- python -m pip install --upgrade build twine
139- python -m build
140- twine upload dist/*
141-
142132 - name : 📚 Update GitHub pages
143133 if : github.event_name == 'release' && matrix.python-version == '3.11'
144134 run : |
You can’t perform that action at this time.
0 commit comments