Rename to DID Extensions and migrate common.js into index.html. #168
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-spec-registries: | |
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-spec-registries tooling... | |
working-directory: tooling | |
run: npm i | |
- name: Validate did-spec-registries DID method entries | |
working-directory: tooling | |
run: npm run registry:validate | |
- name: Generate did-spec-registries 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 |