From 9ec27bc01678c42a43f9efffcd804ba1504e73ee Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 6 May 2020 00:09:09 +0200 Subject: [PATCH] Update README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 484a7ae..04623ca 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,14 @@ If you are interested, [check out](https://git.io/Je09Y) my other :octocat: GitH ## 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 name: import-gpg