Skip to content

Commit 170e39e

Browse files
temp: deploy docs
1 parent 1a10330 commit 170e39e

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -137,45 +137,45 @@ jobs:
137137
./upload_docs
138138
139139
release:
140-
if: startsWith(github.event.ref, 'refs/tags/v')
140+
# if: startsWith(github.event.ref, 'refs/tags/v')
141141
needs: [test, ui-test, build-docs]
142142
runs-on: ubuntu-20.04
143143
steps:
144144
- uses: actions/download-artifact@v4
145145
with:
146146
name: ipyaggrid-dist-${{ github.run_number }}
147147

148-
- name: Install node
149-
uses: actions/setup-node@v4
150-
with:
151-
node-version: "20.x"
152-
registry-url: "https://registry.npmjs.org"
153-
154-
- name: Install Python
155-
uses: actions/setup-python@v5
156-
with:
157-
python-version: 3.8
158-
159-
- name: Install dependencies
160-
run: |
161-
python -m pip install --upgrade pip
162-
pip install twine wheel jupyter-packaging jupyterlab
163-
164-
- name: Publish the Python package
165-
env:
166-
TWINE_USERNAME: __token__
167-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
168-
run: twine upload --skip-existing dist/*
169-
170-
- name: Publish the NPM package
171-
run: |
172-
cd js
173-
echo $PRE_RELEASE
174-
if [[ $PRE_RELEASE == "true" ]]; then export TAG="next"; else export TAG="latest"; fi
175-
npm publish --tag ${TAG} --access public *.tgz
176-
env:
177-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
178-
PRE_RELEASE: ${{ github.event.release.prerelease }}
148+
# - name: Install node
149+
# uses: actions/setup-node@v4
150+
# with:
151+
# node-version: "20.x"
152+
# registry-url: "https://registry.npmjs.org"
153+
#
154+
# - name: Install Python
155+
# uses: actions/setup-python@v5
156+
# with:
157+
# python-version: 3.8
158+
#
159+
# - name: Install dependencies
160+
# run: |
161+
# python -m pip install --upgrade pip
162+
# pip install twine wheel jupyter-packaging jupyterlab
163+
#
164+
# - name: Publish the Python package
165+
# env:
166+
# TWINE_USERNAME: __token__
167+
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
168+
# run: twine upload --skip-existing dist/*
169+
#
170+
# - name: Publish the NPM package
171+
# run: |
172+
# cd js
173+
# echo $PRE_RELEASE
174+
# if [[ $PRE_RELEASE == "true" ]]; then export TAG="next"; else export TAG="latest"; fi
175+
# npm publish --tag ${TAG} --access public *.tgz
176+
# env:
177+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
178+
# PRE_RELEASE: ${{ github.event.release.prerelease }}
179179

180180
- uses: actions/download-artifact@v4
181181
with:

0 commit comments

Comments
 (0)