From 5147613dddb522271bd6d88fd1dde070ceacf932 Mon Sep 17 00:00:00 2001 From: Todd Anderson Date: Wed, 13 Dec 2023 13:31:03 -0600 Subject: [PATCH] build test --- .github/actions/publish/action.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/actions/publish/action.yml b/.github/actions/publish/action.yml index 5572d2b2..041d6bd9 100644 --- a/.github/actions/publish/action.yml +++ b/.github/actions/publish/action.yml @@ -30,8 +30,15 @@ runs: # TODO: --config-file FILE??? run: | - gpg --gen-key --no-tty - pass init "I'm a robot!" + gpg --full-gen-key --batch <(echo "Key-Type: 1"; \ + echo "Key-Length: 4096"; \ + echo "Subkey-Type: 1"; \ + echo "Subkey-Length: 4096"; \ + echo "Expire-Date: 0"; \ + echo "Name-Real: Name"; \ + echo "Name-Email: email@email.com"; \ + echo "%no-protection"; ) + pass init "Name" ./smtools-linux-x64/smctl creds save ${{env.DIGICERT_API_KEY}} $${env.DIGICERT_CLIENT_CERT_PASSWORD} ./smtools-linux-x64/smctl cert list