The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Add app-path input to deploy and install composite actions (#19589)
Charles Bochetb37ef3e7dae5
diff --git a/.github/actions/deploy-twenty-app/action.yml b/.github/actions/deploy-twenty-app/action.ymlindex 371d202f2e6..8ff4203b60f 100644--- a/.github/actions/deploy-twenty-app/action.yml+++ b/.github/actions/deploy-twenty-app/action.yml@@ -8,6 +8,10 @@ inputs:api-key:description: API key or access token for the target instancerequired: true+ app-path:+ description: Path to the app directory (relative to repo root). Defaults to repo root.+ required: false+ default: '.'runs:using: composite@@ -19,11 +23,13 @@ runs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version-file: '.nvmrc'+ node-version-file: '${{ inputs.app-path }}/.nvmrc'cache: yarn+ cache-dependency-path: '${{ inputs.app-path }}/yarn.lock'- name: Install dependenciesshell: bash+ working-directory: ${{ inputs.app-path }}run: yarn install --immutable- name: Configure remote@@ -43,4 +49,5 @@ runs:- name: Deployshell: bash+ working-directory: ${{ inputs.app-path }}run: yarn twenty deploy --remote targetdiff --git a/.github/actions/install-twenty-app/action.yml b/.github/actions/install-twenty-app/action.ymlindex 3f7ef535cfa..e1c8de33553 100644--- a/.github/actions/install-twenty-app/action.yml+++ b/.github/actions/install-twenty-app/action.yml@@ -8,6 +8,10 @@ inputs:api-key:description: API key or access token for the target workspacerequired: true+ app-path:+ description: Path to the app directory (relative to repo root). Defaults to repo root.+ required: false+ default: '.'runs:using: composite@@ -19,11 +23,13 @@ runs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version-file: '.nvmrc'+ node-version-file: '${{ inputs.app-path }}/.nvmrc'cache: yarn+ cache-dependency-path: '${{ inputs.app-path }}/yarn.lock'- name: Install dependenciesshell: bash+ working-directory: ${{ inputs.app-path }}run: yarn install --immutable- name: Configure remote@@ -43,4 +49,5 @@ runs:- name: Installshell: bash+ working-directory: ${{ inputs.app-path }}run: yarn twenty install --remote target