Skip to content

Commit 1efc150

Browse files
committed
👷 Updated publish to staging server.
1 parent 96da7f8 commit 1efc150

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/2.build-publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ jobs:
5151
python -m pip install -U pip
5252
python -m pip install build==0.10.0 twine==4.0.2
5353
- name: Build and publish package
54-
run: |
55-
echo -e "[pypi]\nusername = __token__\npassword = ${{ secrets.PYPI_API_TOKEN }}" > ~/.pypirc
56-
./scripts/build.sh -c -t -u -p
57-
rm -rfv ~/.pypirc
5854
# run: |
59-
# echo -e "[testpypi]\nusername = __token__\npassword = ${{ secrets.TEST_PYPI_API_TOKEN }}" > ~/.pypirc
60-
# ./scripts/build.sh -c -t -u
55+
# echo -e "[pypi]\nusername = __token__\npassword = ${{ secrets.PYPI_API_TOKEN }}" > ~/.pypirc
56+
# ./scripts/build.sh -c -t -u -p
6157
# rm -rfv ~/.pypirc
58+
run: |
59+
echo -e "[testpypi]\nusername = __token__\npassword = ${{ secrets.TEST_PYPI_API_TOKEN }}" > ~/.pypirc
60+
./scripts/build.sh -c -t -u
61+
rm -rfv ~/.pypirc
6262
- name: Create release
6363
env:
6464
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)