Skip to content

Commit

Permalink
✨ Add Github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fanshan committed Nov 7, 2024
1 parent 886ea90 commit e9a007b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tags_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Realease CD

on:
push:
tags:
- v*

jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install netbox_passhup_plugin Dependencies
run: |
pip install build
- name: Install netbox_passhup_plugin Dependencies
run: |
python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit e9a007b

Please sign in to comment.