Skip to content

Commit

Permalink
Update docs URL and add publish action.
Browse files Browse the repository at this point in the history
- Change the URL for the documentation.
- Add a GitHub action to simplify deployment.
  • Loading branch information
erbsland-dev committed Jan 5, 2024
1 parent 8ed7e19 commit 1cf5e41
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish to PyPI.org
on:
release:
types: [published]
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: python3 -m pip install --upgrade build && python3 -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


.. _`documentation`: https://fast-file-encryption.readthedocs.io/
.. _`documentation`: https://erbsland-dev.github.io/fast-file-encryption/


2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ long_description = file: README.rst
long_description_content_type = text/x-rst
url = https://github.com/erbsland-dev/fast-file-encryption
project_urls =
Documentation=https://fast-file-encryption.readthedocs.io/
Documentation=https://erbsland-dev.github.io/fast-file-encryption/
Source=https://github.com/erbsland-dev/fast-file-encryption
Issues=https://github.com/erbsland-dev/fast-file-encryption/issues
classifiers =
Expand Down

0 comments on commit 1cf5e41

Please sign in to comment.