Skip to content

Update JS-DevTools/npm-publish action to v3 (#195) #125

Update JS-DevTools/npm-publish action to v3 (#195)

Update JS-DevTools/npm-publish action to v3 (#195) #125

Workflow file for this run

name: Generate Documentation
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install Dependencies
run: npm i
- name: Build
run: npm run build
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
path: './docs/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4