Skip to content

Commit

Permalink
chore: update deploy API workflow to trigger on completion of web app…
Browse files Browse the repository at this point in the history
… deployment instead of on push events (#262)
  • Loading branch information
typeWolffo authored Nov 28, 2024
1 parent 6851290 commit 2c37a79
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/deploy-api-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ env:
HUSKY: 0

on:
push:
tags:
- "*"
workflow_run:
workflows:
- "PRODUCTION - Deploy WEBAPP"
types:
- completed

jobs:
test:
uses: ./.github/workflows/playwright-tests-production.yml

build-api:
needs: test
if: github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
environment:
name: production
Expand Down

0 comments on commit 2c37a79

Please sign in to comment.