Skip to content

Casper JS SDK v3.0.0-rc01 #18

Casper JS SDK v3.0.0-rc01

Casper JS SDK v3.0.0-rc01 #18

Workflow file for this run

name: Publish docs
on:
release:
types: [created]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-20.04
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [16.x]
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b #v3.0.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@5b949b50c3461bbcd5a540b150c368278160234a #v3.4.0
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- name: Install and Build 🔧
run: |
npm ci
npm run docs:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@ba1486788b0490a235422264426c45848eac35c6 #v4.4.1
with:
folder: docs # The folder the action should deploy.