Add bsv DID method. #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish DID Method Registry | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-did-extensions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code... | |
uses: actions/checkout@v2 | |
- name: Setup Node 16... | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
- name: Install did-extensions tooling... | |
working-directory: tooling | |
run: npm i | |
- name: Validate did-extensions DID method entries | |
working-directory: tooling | |
run: npm run registry:validate | |
- name: Generate did-extensions registry index | |
working-directory: tooling | |
run: npm run registry:generate:index | |
- name: Deploy to Github Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: . | |
token: ${{ secrets.GITHUB_TOKEN }} | |
git-config-name: 'didwg[bot]' | |
git-config-email: 'didwg[bot]@users.noreply.github.com' | |
single-commit: true |