Bump micromatch from 4.0.5 to 4.0.8 in /site (#261) #191
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
id-token: write | |
pages: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: 'npm' | |
cache-dependency-path: "site/package-lock.json" | |
- name: Build site | |
run: | | |
cd site | |
echo "Building the site" | |
npm ci | |
npm run build | |
- name : Upload artifact | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
name: github-pages | |
path: site/_site | |
- name: Deploy to GitHub Pages from artifacts | |
uses: actions/deploy-pages@v2 |