The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Deploy website only when twenty-website changes (#21977)
Rashad Karanouh605526201297
diff --git a/.github/workflows/cd-deploy-main.yaml b/.github/workflows/cd-deploy-main.yamlindex 11a6a86ec7b..8f410940d63 100644--- a/.github/workflows/cd-deploy-main.yaml+++ b/.github/workflows/cd-deploy-main.yaml@@ -9,7 +9,13 @@ on:- mainjobs:+ website-changed-files:+ uses: ./.github/workflows/changed-files.yaml+ with:+ files: packages/twenty-website/**+deploy-main:+ needs: website-changed-filestimeout-minutes: 3runs-on: ubuntu-lateststeps:@@ -26,5 +32,6 @@ jobs:- name: Trigger twenty-infra deployenv:GH_TOKEN: ${{ steps.app-token.outputs.token }}+ DEPLOY_WEBSITE: ${{ needs.website-changed-files.outputs.any_changed }}run: |- gh workflow run auto-deploy-main.yaml --repo twentyhq/twenty-infra --ref main+ gh workflow run auto-deploy-main.yaml --repo twentyhq/twenty-infra --ref main -f deploy_website="$DEPLOY_WEBSITE"