Skip to content

Commit

Permalink
adding protection against already rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Fraser committed Jul 8, 2022
1 parent 3d58471 commit a6a2bb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bashly.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: cli
help: Post Deployment Template Render
version: 0.1.1
version: 0.1.2


commands:
Expand Down
4 changes: 2 additions & 2 deletions src/github_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ cat ${TEMPLATE_PATH} | envsubst > ${TEMPLATE_PATH}.tmp
mv ${TEMPLATE_PATH}.tmp ${TEMPLATE_PATH}

git add ${TEMPLATE_PATH}
git commit -m "Updating variables"
git push
git commit -m "Updating variables" || true
git push || true

rm -rf /tmp/${GITOPS_REPO_NAME}

0 comments on commit a6a2bb6

Please sign in to comment.