Skip to content

Commit

Permalink
Merge pull request #124 from contentstack/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
NamrataSane authored Jul 29, 2024
2 parents dff13c3 + 24345b8 commit b1f0d8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/oxygen-deployment-1000012638.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: Storefront 1000012638

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 Expand Up @@ -78,4 +73,4 @@ jobs:
environment: 'preview'
preview_url: ${{ steps.deploy.outputs.url }}
description: ${{ github.event.head_commit.message }}


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 b1f0d8f

Please sign in to comment.