Skip to content

Commit

Permalink
Update oxygen-deployment-1000021148.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NamrataSane authored Jul 29, 2024
1 parent 95ec1b5 commit 24345b8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/oxygen-deployment-1000021148.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: Storefront 1000021148

on:
release:
types: [created]
workflow_dispatch:
inputs:
BranchToDeploy:
Expand All @@ -16,6 +14,7 @@ on:
options:
- development
- staging
- main

permissions:
contents: read
Expand All @@ -30,11 +29,7 @@ jobs:
- name: BranchSelector
id: BranchSelector
run: |
if [[ "${{ github.event_name }}" == "release" ]]; then
echo "BranchName=main" >> $GITHUB_OUTPUT
else
echo "BranchName=${{inputs.BranchToDeploy}}" >> $GITHUB_OUTPUT
fi
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 24345b8

Please sign in to comment.