Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Merge pull request #63 from NethermindEth/madhur/remove-install-monit… #48

Merge pull request #63 from NethermindEth/madhur/remove-install-monit…

Merge pull request #63 from NethermindEth/madhur/remove-install-monit… #48

Workflow file for this run

name: Deploy Documentation to Github Pages
on:
push:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
name: Deploy to Github Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache-dependency-path: docs
- name: Install dependencies
run: yarn install
working-directory: docs
- name: Build website
run: yarn build
working-directory: docs
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build