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 a55a8fe commit 708aa1bCopy full SHA for 708aa1b
.github/workflows/release.yml
@@ -0,0 +1,27 @@
1
+on:
2
+ release:
3
+ types:
4
+ - published
5
+
6
+name: release
7
8
+jobs:
9
+ pypi-publish:
10
+ name: Upload release to PyPI
11
+ runs-on: ubuntu-latest
12
+ environment:
13
+ name: pypi
14
+ url: https://pypi.org/p/MetasploitSight
15
16
+ permissions:
17
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ with:
21
+ fetch-depth: 0
22
+ - name: Install Poetry
23
+ run: python -m pip install --upgrade pip poetry
24
+ - name: Build artifacts
25
+ run: poetry build
26
+ - name: Publish package distributions to PyPI
27
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments