Skip to content

Merge pull request #11 from docknetwork/feat/optional-edv-dep #102

Merge pull request #11 from docknetwork/feat/optional-edv-dep

Merge pull request #11 from docknetwork/feat/optional-edv-dep #102

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Setup Node JS
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install and Build 🔧 # Only need to install jsdoc package here and then run docs script
run: |
yarn install --frozen-lockfile --ignore-scripts
yarn docs
- name: Install SSH Client 🔑
uses: webfactory/ssh-agent@v0.4.1
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
SSH: true
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: out # The folder the action should deploy.