Skip to content

Commit

Permalink
Add deployment workflow for GitHub actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsorby committed Feb 14, 2024
1 parent a645e2a commit 4d4c244
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy library

on:
push:
tags:
- "v*.*.*"

jobs:
build-and-release-package:
if: github.repository == 'ABI-Software/scaffoldmaker'
runs-on: ubuntu-20.04
name: Release package
permissions:
contents: write
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Release Python package
uses: hsorby/release-python-package-action@v1
with:
pypi-package-name: scaffoldmaker

0 comments on commit 4d4c244

Please sign in to comment.