Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

ci: release tagged versions to production branch

Marc Klingenbda28bd3859a
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000000..024daefa07
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,19 @@
+on:
+ workflow_dispatch:
+ push:
+ # Pattern matched against refs/tags
+ tags:
+ - "v*" # Push events to every tag not containing /
+
+jobs:
+ release:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ ref: main # Always checkout main even for tagged releases
+ fetch-depth: 0
+ token: ${{ secrets.GH_ACCESS_TOKEN }}
+ - name: Push to production
+ run: git push origin +main:production
+ if: github.ref == 'refs/heads/main'