Skip to content

Update restoring-nand.md #190

Update restoring-nand.md

Update restoring-nand.md #190

Workflow file for this run

name: Deploy site
on:
push:
branches: [ master ]
paths:
- docs/**
- .github/workflows/publish.yml
- package.json
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Run VuePress
# Build the site using VuePress
run: npm run docs:build
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: "docs/.vuepress/dist"
# Deployment job
deploy:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4