1818 - uses : actions/checkout@v4
1919
2020 - name : Set up Python
21- uses : actions/setup-python@v4
21+ uses : actions/setup-python@v5
2222 with :
2323 python-version : ' 3.11'
2424
3838 - uses : actions/checkout@v4
3939
4040 - name : Set up Python
41- uses : actions/setup-python@v4
41+ uses : actions/setup-python@v5
4242 with :
4343 python-version : ' 3.11'
4444
@@ -113,7 +113,7 @@ jobs:
113113 if : startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-')
114114 environment :
115115 name : pypi
116- url : https://pypi.org/p/git-safe
116+ url : https://pypi.org/p/gitsafe-cli
117117 permissions :
118118 id-token : write
119119 steps :
@@ -125,16 +125,14 @@ jobs:
125125
126126 - name : Publish to PyPI
127127 uses : pypa/gh-action-pypi-publish@release/v1
128- with :
129- password : ${{ secrets.PYPI_API_TOKEN }}
130128
131129 publish-test-pypi :
132130 needs : [test, build]
133131 runs-on : ubuntu-latest
134132 if : contains(github.ref, '-') || github.event_name == 'workflow_dispatch'
135133 environment :
136134 name : testpypi
137- url : https://test.pypi.org/p/git-safe
135+ url : https://test.pypi.org/p/gitsafe-cli
138136 permissions :
139137 id-token : write
140138 steps :
@@ -147,7 +145,6 @@ jobs:
147145 - name : Publish to Test PyPI
148146 uses : pypa/gh-action-pypi-publish@release/v1
149147 with :
150- password : ${{ secrets.TEST_PYPI_API_TOKEN }}
151148 repository-url : https://test.pypi.org/legacy/
152149
153150 docker :
@@ -183,4 +180,14 @@ jobs:
183180 push : true
184181 tags : ${{ steps.meta.outputs.tags }}
185182 labels : ${{ steps.meta.outputs.labels }}
186- platforms : linux/amd64,linux/arm64
183+ platforms : linux/amd64,linux/arm64
184+
185+ - name : Update Docker Hub Description
186+ uses : peter-evans/dockerhub-description@v4
187+ with :
188+ username : ${{ secrets.DOCKER_USERNAME }}
189+ password : ${{ secrets.DOCKERHUB_TOKEN }}
190+ repository : ${{ secrets.DOCKER_USERNAME }}/git-safe
191+ short-description : " Effortless file encryption for your git repos—pattern-matched, secure, and keyfile-flexible."
192+ readme-filepath : ./README.md
193+ enable-url-completion : true
0 commit comments