Skip to content

Commit 870825c

Browse files
authored
Merge pull request #13 from miaow2/develop
Enable publish action
2 parents b44250d + d9a9f80 commit 870825c

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.github/workflows/publish.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ on:
66

77
jobs:
88
deploy:
9-
if: false
109
runs-on: ubuntu-latest
1110
steps:
1211
- uses: actions/checkout@v3
13-
- name: Set up python 3.11
14-
uses: actions/setup-python@v2
12+
uses: actions/setup-python@v4
1513
with:
16-
python-version: "3.11"
14+
python-version: "3.10"
1715
- name: Setup publish env
1816
run: |
1917
python -m pip install --upgrade pip
2018
python -m pip install setuptools wheel build twine
21-
- name: Build and publish
19+
- name: Build
20+
run: python -m build
21+
- name: Check
22+
run: python -m twine check dist/*
23+
- name: Publish
2224
env:
23-
TWINE_USERNAME: ${{ secrets.PYPI_USER }}
25+
TWINE_USERNAME: __token__
2426
TWINE_PASSWORD: ${{ secrets.PYPI_PASS }}
25-
run: |
26-
python -m build
27-
python -m twine upload dist/*
27+
run: python -m twine upload dist/*

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ Read about [DataSources](https://demo.netbox.dev/static/docs/models/core/datasou
1414
Device configuration renders natively in NetBox. This [feature](https://demo.netbox.dev/static/docs/features/configuration-rendering/) was introduced in 3.5 version.
1515
NetBox Labs [blog](https://demo.netbox.dev/static/docs/features/configuration-rendering/) post about it.
1616

17-
Plugin support a wide list of vendors (Cisco, Juniper, Huawei, MicroTik etc.) with the help of Scrapli. Read [Scrapli](https://github.com/carlmontanari/scrapli/tree/main/scrapli/driver/core) and [scrapli-community](https://github.com/scrapli/scrapli_community/tree/main/scrapli_community) documentations to find full list of vendors.
18-
17+
Plugin supports a wide list of vendors (Cisco, Juniper, Huawei, MicroTik etc.) with the help of Scrapli. Read [Scrapli](https://github.com/carlmontanari/scrapli/tree/main/scrapli/driver/core) and [scrapli-community](https://github.com/scrapli/scrapli_community/tree/main/scrapli_community) documentations to find full list of vendors.
1918
<!--about-end-->
2019

2120
## Compatibility

0 commit comments

Comments
 (0)