Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit db1c4bf

Browse files
authored
Merge pull request #88 from Woile/77-github-actions
77 GitHub actions
2 parents 90d3568 + 65f837d commit db1c4bf

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/pythonpublish.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ jobs:
2323
env:
2424
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
2525
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2627
run: |
2728
./scripts/publish

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## Unreleased
3+
## v1.9.0
44

55
### Feature
66

@@ -20,6 +20,10 @@
2020
- windows error when removing folders (#67)
2121
- typos in docs
2222

23+
### Docs
24+
- tutorial for gitlab ci
25+
- tutorial for github actions
26+
2327
## v1.8.0
2428

2529
### Feature

scripts/publish

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Publish to pypi
22
poetry publish --build -u $PYPI_USERNAME -p $PYPI_PASSWORD
33

4-
[ -z "${INPUT_GITHUB_TOKEN}" ] && {
4+
[ -z "${GITHUB_TOKEN}" ] && {
55
echo 'Missing input "github_token: ${{ secrets.GITHUB_TOKEN }}".';
66
exit 1;
77
};
88

9-
remote_repo="https://${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@github.com/commitizen.git"
9+
remote_repo="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/commitizen.git"
1010

1111
# Publish docs
1212
mkdocs gh-deploy --remote-name "${remote_repo}"

0 commit comments

Comments
 (0)