commit | d13d503a758c8c768671600812d000fac3412e0c | [log] [tgz] |
---|---|---|
author | anarcher <anarcher@gmail.com> | Tue Oct 08 10:53:54 2019 +0900 |
committer | anarcher <anarcher@gmail.com> | Tue Oct 08 10:53:54 2019 +0900 |
tree | 09add63409763c5eabead92c562f7a8b0479a03d | |
parent | 39378bb47365ebcd684dbeb239bd5e339bf81550 [diff] |
Add some explanation for repository input
The GitHub Actions for pushing to GitHub repository local changes authorizing using GitHub token.
An example workflow to authenticate with GitHub Platform:
jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@master ... - run: | ... - uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }}
name | value | default | description |
---|---|---|---|
github_token | string | Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }} . | |
branch | string | ‘master’ | Destination branch to push changes. |
force | boolean | false | Determines if force push is used. |
directory | string | ‘.’ | Directory to change to before pushing. |
repository | string | '' | Repository name. Default or empty repository name represents current github repository. If you want to push other repository, you should make a personal access token(https://github.com/settings/tokens) and put it with github_token. |
The Dockerfile and associated scripts and documentation in this project are released under the MIT License.
GitHub are registered trademarks of GitHub, Inc. GitHub name used in this project are for identification purposes only. The project is not associated in any way with GitHub Inc. and is not an official solution of GitHub Inc. It was made available in order to facilitate the use of the site GitHub.