Merge pull request #1 from pdcmoreira/master

Publish tags, corrected input parameter on README.md
This commit is contained in:
Adam Dobrawy 2019-09-30 17:36:34 +02:00 committed by GitHub
commit 70ea6b82bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ jobs:
...
- uses: ad-m/github-push-action@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
```
## License

View File

@ -6,4 +6,4 @@ echo "Push to branch ${INPUT_BRANCH:=master}";
};
header=$(echo -n "ad-m:${INPUT_GITHUB_TOKEN}" | base64)
git -c http.extraheader="AUTHORIZATION: basic $header" push origin HEAD:${INPUT_BRANCH};
git -c http.extraheader="AUTHORIZATION: basic $header" push origin HEAD:${INPUT_BRANCH} --follow-tags;