Skip to content

Commit 5a22551

Browse files
committed
ci(buidl): disable Pypi upload to test and use GITHUB_TOKEN for the documentation pushing
1 parent 560283d commit 5a22551

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,24 @@ on: # yamllint disable-line rule:truthy
88
workflow_dispatch:
99

1010
jobs:
11-
PyPI:
12-
name: Build and publish Python distributions to TestPyPI
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: actions/checkout@v4
16-
- uses: pdm-project/setup-pdm@main
17-
name: Setup Python and PDM
18-
with:
19-
python-version: 3.11
20-
- name: Build package
21-
run: make build-package
22-
- name: Publish distribution to Test PyPI
23-
uses: pypa/gh-action-pypi-publish@release/v1
24-
with:
25-
password: ${{ secrets.test_pypi_password }}
26-
repository_url: https://test.pypi.org/simple/
27-
skip_existing: true
11+
# The pipeline fails and I don't have time to debug it, if you want to help, please submit a pull request
12+
# PyPI:
13+
# name: Build and publish Python distributions to TestPyPI
14+
# runs-on: ubuntu-latest
15+
# steps:
16+
# - uses: actions/checkout@v4
17+
# - uses: pdm-project/setup-pdm@main
18+
# name: Setup Python and PDM
19+
# with:
20+
# python-version: 3.11
21+
# - name: Build package
22+
# run: make build-package
23+
# - name: Publish distribution to Test PyPI
24+
# uses: pypa/gh-action-pypi-publish@release/v1
25+
# with:
26+
# password: ${{ secrets.test_pypi_password }}
27+
# repository_url: https://test.pypi.org/legacy/
28+
# skip_existing: true
2829
Documentation:
2930
runs-on: ubuntu-latest
3031
steps:
@@ -45,5 +46,5 @@ jobs:
4546
- name: Deploy
4647
uses: peaceiris/actions-gh-pages@v4
4748
with:
48-
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
49+
deploy_key: ${{ secrets.GITHUB_TOKEN }}
4950
publish_dir: ./site

0 commit comments

Comments
 (0)