Skip to content

Commit 5252cc5

Browse files
Fix an issue with the workflow to update the README
1 parent 7e9b4c9 commit 5252cc5

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/update-readme.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ jobs:
1616
| sed
1717
-e "s/https\:\/\/deno.land\/x\/functional\@[v0-9\.]*/https\:\/\/deno.land\/x\/functional\@${RELEASE_VERSION}/"
1818
-e "s/https\:\/\/x.nest.land\/functional\@[v0-9\.]*/https\:\/\/x.nest.land\/functional\@${RELEASE_VERSION}/"
19-
| tee ./README.md
20-
- run: |
21-
git config --local user.email "[email protected]"
22-
git config --local user.name "GitHub Action"
23-
git add .
24-
git commit --amend --no-edit
25-
git push https://${{ env.GITHUB_ACTOR }}:${{ secrets.GITHUB_TOKEN }}@github.com/sebastienfilion/functional.git HEAD:master --force
19+
| tee ./README.md > /dev/null
20+
&& echo $RELEASE_VERSION
21+
&& git config --local user.email "[email protected]"
22+
&& git config --local user.name "GitHub Action"
23+
&& git add .
24+
&& git commit --amend --no-edit
25+
&& git push
26+
https://${{ env.GITHUB_ACTOR }}:${{ secrets.GITHUB_TOKEN }}@github.com/sebastienfilion/functional.git
27+
HEAD:master --force

0 commit comments

Comments
 (0)