Skip to content

Commit

Permalink
Fix server suffix selection (#1325)
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi authored Dec 12, 2023
1 parent da9f1e3 commit 790a062
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ jobs:
- id: step1
name: Define server branch suffix to use
run: |
if [[ ${{ github.event_name == 'push' }} ]]; then
if ${{ github.event_name == 'push' }}; then
echo "suffix=" >> "$GITHUB_OUTPUT"
elif [[ ${{ github.event_name == 'workflow_dispatch' }} ]]; then
elif ${{ github.event_name == 'workflow_dispatch' }}; then
echo "suffix=${{ github.event.inputs.standalone_branch_suffix }}" >> "$GITHUB_OUTPUT"
elif [[ ${{ github.event_name == 'pull_request' }} ]]; then
elif ${{ github.event_name == 'pull_request' }}; then
# If the PR is server-sync then extract suffix from branch name
sub='maint/update_code_for_'
if [[ "${{ github.head_ref }}" == *"$sub"* ]]; then
Expand Down

0 comments on commit 790a062

Please sign in to comment.