Skip to content

Commit

Permalink
Merge pull request #1437 from alphagov/fix-create-pr-on-tags
Browse files Browse the repository at this point in the history
Fix creating PR on tags by using string split on ,
  • Loading branch information
kentsanggds authored Aug 4, 2023
2 parents 429c347 + cc1e3cd commit 8243e9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-pr-on-tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
env:
GH_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}
GH_REF: ${{ github.ref_name }}
ENVS: ( "staging" "production" )
ENVS: "staging,production"
2 changes: 1 addition & 1 deletion docker/create-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ git clone https://${GH_TOKEN}@github.com/alphagov/govuk-ckan-charts.git charts
cd charts/charts/ckan/images
git checkout -b ${BRANCH}

for ENV in ${ENVS}; do
for ENV in $(echo $ENVS | tr "," " "); do
(
cd "${ENV}"
for APP in ckan pycsw solr; do
Expand Down

0 comments on commit 8243e9f

Please sign in to comment.