Skip to content

Merge branch 'main' of https://github.com/jsdotlua/jest-lua #2

Merge branch 'main' of https://github.com/jsdotlua/jest-lua

Merge branch 'main' of https://github.com/jsdotlua/jest-lua #2

Workflow file for this run

name: Deploy Docs
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install NPM dependencies
uses: bahmutov/[email protected]
with:
working-directory: docs
- name: Build
working-directory: docs
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build
publish_branch: gh-pages