-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 1012 Bytes
/
create-issuer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Publish Issuer
on:
# push:
# branches:
# - main
# schedule:
# # Every day at midnight
# - cron: "0 0 * * *"
workflow_dispatch:
jobs:
publish_issuer:
name: Publish Issuer
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Create Issuer
id: create_issuer
uses: transmute-industries/[email protected]
with:
resource: "did"
action: "generate"
username: "transmute-industries"
repository: "public-credential-registry-template"
mnemonic: "${{ secrets.MNEMONIC }}"
hd-path: "m/44'/0'/0'/0/0"
key-type: "ed25519"
# This path has to match what will be expected when resolving a did web.
file-output: "./issuers/z6MktiSzqF9kqwdU8VkdBKx56EYzXfpgnNPUAGznpicNiWfn/did.json"
- uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: main
commit_message: Issuer updated