Skip to content

Commit

Permalink
Also, push new version to pypi on tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephCatrambone committed Dec 6, 2024
1 parent b2afd00 commit 6da73fc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish to Guardrails Hub

on:
workflow_dispatch:
push:
# Publish when new releases are tagged.
tags:
- '*'

jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Build & Deploy
uses: guardrails-ai/guardrails/.github/actions/validator_pypi_publish@main
with:
guardrails_token: ${{ secrets.GR_GUARDRAILS_TOKEN }}
validator_id: guardrails/bias_check

0 comments on commit 6da73fc

Please sign in to comment.