Skip to content

Merge pull request #13 from docknetwork/fix/always-pass-default-headers #104

Merge pull request #13 from docknetwork/fix/always-pass-default-headers

Merge pull request #13 from docknetwork/fix/always-pass-default-headers #104

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/[email protected]
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.