Skip to content

Commit

Permalink
pypi workflow
Browse files Browse the repository at this point in the history
2XXE-SRA committed Mar 15, 2023
1 parent 95bc279 commit 9c36fb6
Showing 3 changed files with 25 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries

name: Upload Python Package
on:
release:
types: [published]
workflow_dispatch:
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
verify-metadata: false
Binary file modified dist/timberlake-1.0.0-py3-none-any.whl
Binary file not shown.
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[tool.poetry]
name = "timberlake"
version = "1.0.0"
description = ""
authors = ["2XXE <@2XXEformyshirt>"]
description = "AWS attack automation utility"
authors = ["2XXE <root@example.com>"]
readme = "README.md"
license = "MIT"

[tool.poetry.dependencies]
python = "^3.8"
@@ -23,4 +25,4 @@ requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.scripts]
timberlake = "timberlake.cli:cli_main"
timberlake = "timberlake.cli:cli_main"

0 comments on commit 9c36fb6

Please sign in to comment.