Skip to content

Commit

Permalink
Fix release pathing (#2606)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentvan7 authored Jan 24, 2025
1 parent d03973c commit e019467
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ on:
description: 'Flag to show components typically only shown in development mode, for experimental or in-progress features.'
type: boolean
default: false
nested_deployments:
description: 'When true, the deployment will be nested in a sub-folder corresponding to the frontend_name. When false, the deployment will sit in the repo root folder, which means you can only have 1 deployment active at a time'
type: boolean
default: true

jobs:
build:
Expand Down Expand Up @@ -71,11 +75,15 @@ jobs:
run: yarn run nx run ${{inputs.frontend_name}}:build:production
- name: echos
run: |
echo ${{inputs.frontend_name}} > frontend_name
touch frontend_name
echo ${{inputs.deployment_name}} > deployment_name
echo ${{inputs.repo_name}} > repo_name
echo ${{inputs.repo_deploy_secret_name}} > repo_deploy_secret_name
echo $(git rev-parse HEAD) > ref
- name: echos (frontend_name)
if: inputs.nested_deployments == 'true'
run: |
echo ${{inputs.frontend_name}} > frontend_name
- name: Archive build
uses: actions/upload-artifact@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/new-zo-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ jobs:
repo_name: ${{ vars.ZO_REPO}}
repo_deploy_secret_name: 'ZO_REPO_SSH_KEY'
show_dev_components: false
nested_deployments: false

0 comments on commit e019467

Please sign in to comment.