Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Fix sed usage (#1697)
sarayourfriend0daf4a34181b
diff --git a/.github/actions/production-frontend-deploy/action.yml b/.github/actions/production-frontend-deploy/action.ymlindex 5d0f6bc39..3d9f0e9b3 100644--- a/.github/actions/production-frontend-deploy/action.yml+++ b/.github/actions/production-frontend-deploy/action.yml@@ -65,7 +65,7 @@ runs:--query taskDefinition > task-definition.json# Remove template from the family name (the render action does not support this)- sed 's/"family": "production-frontend-template"/"family": "production-frontend"/g' task-definition.json > task-definition.json+ sed -i 's/"family": "production-frontend-template"/"family": "production-frontend"/g' task-definition.json- name: Fill in the new image ID in the Amazon ECS task definitionid: task-defdiff --git a/.github/actions/staging-frontend-deploy/action.yml b/.github/actions/staging-frontend-deploy/action.ymlindex 4c27ed077..89b7074a5 100644--- a/.github/actions/staging-frontend-deploy/action.yml+++ b/.github/actions/staging-frontend-deploy/action.yml@@ -65,7 +65,7 @@ runs:--query taskDefinition > task-definition.json# Remove template from the family name (the render action does not support this)- sed 's/"family": "staging-frontend-template"/"family": "staging-frontend"/g' task-definition.json > task-definition.json+ sed -i 's/"family": "staging-frontend-template"/"family": "staging-frontend"/g' task-definition.json- name: Fill in the new image ID in the Amazon ECS task definitionid: task-def