mirror of
https://github.com/crazy-max/ghaction-import-gpg.git
synced 2024-11-06 05:35:51 -05:00
Update README
This commit is contained in:
parent
c5d57f78d7
commit
9ec27bc016
1 changed files with 8 additions and 0 deletions
|
@ -22,6 +22,14 @@ If you are interested, [check out](https://git.io/Je09Y) my other :octocat: GitH
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
On your local machine, export the GPG private key as an ASCII armored version:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
gpg --armor --export-secret-key --output key.pgp joe@foo.bar
|
||||||
|
```
|
||||||
|
|
||||||
|
Copy the content of `key.pgp` file as a [`secret`](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets) named `SIGNING_KEY` for example. Create another secret with your `PASSPHRASE` if applicable.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
name: import-gpg
|
name: import-gpg
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue