From 3d62fd63893178a0fd36427769d69cd90e9dea39 Mon Sep 17 00:00:00 2001 From: mark-mdev Date: Wed, 27 Aug 2025 09:05:10 -0700 Subject: [PATCH] ci(deploy): update deployment workflow to trigger on completion of PR Tests --- .github/workflows/deploy.yml | 7 ++++--- README.md | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e5e1c66..e8c63ac 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,9 +1,10 @@ name: "Deploy Lingput" on: - push: - branches: - - main + workflow_run: + workflows: ["PR Tests"] + types: [completed] + branches: [main] jobs: build: diff --git a/README.md b/README.md index a21a5c5..8098c8b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Lingput - AI-Powered Comprehensible Input for Language Learning +[![Tests](https://github.com/mark-mdev/lingput/actions/workflows/pr-tests.yml/badge.svg)](https://github.com/mark-mdev/lingput/actions/workflows/pr-tests.yml) +[![Deploy](https://github.com/mark-mdev/lingput/actions/workflows/deploy.yml/badge.svg)](https://github.com/mark-mdev/lingput/actions/workflows/deploy.yml) + **Demo:** https://lingput.dev/ https://app.lingput.dev/