mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2024-12-22 16:16:09 -07:00
Fix sed (had the missing slash but now replaces it every time)
This commit is contained in:
parent
c6421df38d
commit
79e1b1b20b
|
@ -39,7 +39,7 @@ ls -la
|
||||||
echo "Adding git commit"
|
echo "Adding git commit"
|
||||||
|
|
||||||
ORIGIN_COMMIT="https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA"
|
ORIGIN_COMMIT="https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA"
|
||||||
COMMIT_MESSAGE=$(echo "$COMMIT_MESSAGE" | sed "s/ORIGIN_COMMIT/$ORIGIN_COMMIT")
|
COMMIT_MESSAGE=$(echo "$COMMIT_MESSAGE" | sed "s/ORIGIN_COMMIT/$ORIGIN_COMMIT/g")
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
git status
|
git status
|
||||||
|
|
Loading…
Reference in New Issue
Block a user