Merge pull request #28 from docknetwork/fix/nested-credential-subject #67
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: Demo Deploy | |
on: | |
push: | |
branches: [ 'master' ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '16.x' | |
- name: Install deps | |
run: | | |
yarn install --frozen-lockfile --ignore-scripts && cd demo && yarn install --frozen-lockfile --ignore-scripts | |
- name: Build and export | |
run: | | |
cd demo && yarn build && yarn export && touch out/.nojekyll | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: demo/out # The folder the action should deploy. |