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

changed the permissions of the workflow #3

changed the permissions of the workflow

changed the permissions of the workflow #3

Workflow file for this run

name: Deploy documentation to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Build documentation
run: npm run document
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs