https://github.com/kikobeats/github-create-secret
Simplest way to create a GitHub secret.
https://github.com/kikobeats/github-create-secret
github github-secret github-secrets
Last synced: 2 months ago
JSON representation
Simplest way to create a GitHub secret.
- Host: GitHub
- URL: https://github.com/kikobeats/github-create-secret
- Owner: Kikobeats
- License: mit
- Created: 2024-01-04T13:13:58.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-08T08:37:48.000Z (almost 2 years ago)
- Last Synced: 2025-01-26T05:32:37.628Z (about 1 year ago)
- Topics: github, github-secret, github-secrets
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# github-create-secret

[](https://coveralls.io/github/kikobeats/github-create-secret)
[](https://www.npmjs.org/package/github-create-secret)
**github-create-secret** is the simplest way to create a GitHub secret.
Just call it and it will release the latest git tag created:
```
npx github-create-secret --owner Kikobeats --repo test --name MY_SECRET --value MY_VALUE
```
Alternatively, it can be used as Node.js module:
```js
const createSecret = require('github-create-secret')
await createSecret({
owner: "Kikobeats",
repo: "test",
name: "MY_SECRET",
value: "MY_VALUE"
})
```
## License
**github-create-secret** © [Kiko Beats](https://kikobeats.com), released under the [MIT](https://github.com/kikobeats/github-create-secret/blob/master/LICENSE.md) License.
Authored and maintained by [Kiko Beats](https://kikobeats.com) with help from [contributors](https://github.com/kikobeats/github-create-secret/contributors).
> [kikobeats.com](https://kikobeats.com) · GitHub [Kiko Beats](https://github.com/kikobeats) · Twitter [@kikobeats](https://twitter.com/kikobeats)