We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f40101 commit 033c8d1Copy full SHA for 033c8d1
.github/workflows/pythonpublish.yaml
@@ -23,5 +23,6 @@ jobs:
23
env:
24
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
25
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
26
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27
run: |
28
./scripts/publish
scripts/publish
@@ -1,12 +1,12 @@
1
# Publish to pypi
2
poetry publish --build -u $PYPI_USERNAME -p $PYPI_PASSWORD
3
4
-[ -z "${INPUT_GITHUB_TOKEN}" ] && {
+[ -z "${GITHUB_TOKEN}" ] && {
5
echo 'Missing input "github_token: ${{ secrets.GITHUB_TOKEN }}".';
6
exit 1;
7
};
8
9
-remote_repo="https://${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@github.com/commitizen.git"
+remote_repo="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/commitizen.git"
10
11
# Publish docs
12
mkdocs gh-deploy --remote-name "${remote_repo}"
0 commit comments