Merge branch 'main' into feature/settings-page
This commit is contained in:
commit
6806cdabfb
1 changed files with 9 additions and 4 deletions
13
.github/workflows/web-container.yml
vendored
13
.github/workflows/web-container.yml
vendored
|
|
@ -21,8 +21,10 @@ jobs:
|
|||
workflow_type: ${{ steps.workflow.outputs.workflow_type }}
|
||||
workflow_envs: ${{ steps.workflow.outputs.workflow_envs }}
|
||||
release_type: ${{ steps.workflow.outputs.release_type }}
|
||||
current_version: ${{ steps.package-version.outputs.current-version }}
|
||||
current_version: ${{ steps.package_version.outputs.current_version }}
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
- name: Determine Workflow
|
||||
id: workflow
|
||||
shell: bash
|
||||
|
|
@ -41,9 +43,12 @@ jobs:
|
|||
echo "workflow_envs=$workflow_envs" >> $GITHUB_OUTPUT
|
||||
|
||||
echo "Running $workflow_type pipeline in environments: $workflow_envs" >> $GITHUB_STEP_SUMMARY
|
||||
- name: get-npm-version
|
||||
id: package-version
|
||||
uses: martinbeentjes/npm-get-version-action@v1.3.1
|
||||
- name: Extract Version
|
||||
id: package_version
|
||||
shell: bash
|
||||
run: |
|
||||
version=$(jq -r '.version' web/package.json)
|
||||
echo "current_version=$version" >> "$GITHUB_OUTPUT"
|
||||
nonprod-deploy:
|
||||
needs: determine-workflow
|
||||
if: needs.determine-workflow.outputs.workflow_type != 'release'
|
||||
|
|
|
|||
Loading…
Reference in a new issue