Skip to content

Commit 31e6faa

Browse files
committed
Merge branch 'release/5.1.0' of github.com:netfoundry/python-netfoundry into release/5.1.0
2 parents 1d40591 + ba6a200 commit 31e6faa

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: mattermost-ziti-webhook
2+
on:
3+
create:
4+
delete:
5+
issues:
6+
issue_comment:
7+
pull_request_review:
8+
pull_request_review_comment:
9+
pull_request:
10+
push:
11+
fork:
12+
release:
13+
14+
jobs:
15+
mattermost-ziti-webhook:
16+
runs-on: macos-latest
17+
name: POST Webhook
18+
steps:
19+
- uses: openziti/ziti-webhook-action@main
20+
with:
21+
ziti-id: ${{ secrets.ZITI_MATTERMOST_IDENTITY }}
22+
webhook-url: ${{ secrets.ZITI_MATTERMOST_WEBHOOK_URL }}
23+
webhook-secret: ${{ secrets.ZITI_MATTERMOSTI_WEBHOOK_SECRET }}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: Upload Python Package
10+
11+
on:
12+
release:
13+
types: [published]
14+
15+
jobs:
16+
deploy:
17+
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Set up Python
23+
uses: actions/setup-python@v2
24+
with:
25+
python-version: '3.x'
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install build
30+
- name: Build package
31+
run: python -m build
32+
- name: Publish package
33+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
34+
with:
35+
user: __token__
36+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)