Skip to content

Commit

Permalink
fix: unify inputs name between workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gbanu committed Feb 11, 2025
1 parent 255d43f commit 62f34f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/testserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Artemis Staging Deployment
on:
workflow_dispatch:
inputs:
branch:
branch_name:
description: 'Branch to deploy'
required: true
commit_sha:
Expand All @@ -24,7 +24,7 @@ jobs:
steps:
- name: Print inputs
run: |
echo "Branch: ${{ github.event.inputs.branch }}"
echo "Branch: ${{ github.event.inputs.branch_name }}"
echo "Commit SHA: ${{ github.event.inputs.commit_sha }}"
- name: Get workflow runs
id: get_workflow_run
Expand All @@ -38,7 +38,7 @@ jobs:
id: set_build_workflow_id
run: |
COMMIT_SHA="${{ github.event.inputs.commit_sha }}"
BRANCH="${{ github.event.inputs.branch }}"
BRANCH="${{ github.event.inputs.branch_name }}"
WORKFLOW_DATA='${{ steps.get_workflow_run.outputs.data }}'
# Find the workflow run for the specific commit
Expand Down

0 comments on commit 62f34f5

Please sign in to comment.