Skip to content

chore: upgrade nuxt to 4.3.0 #39

chore: upgrade nuxt to 4.3.0

chore: upgrade nuxt to 4.3.0 #39

Workflow file for this run

name: Deploy to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
prepare-plugin-data:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v5
- name: Upload workspace
uses: actions/upload-artifact@v4
with:
name: workspace-with-plugins
path: .
build:
needs: prepare-plugin-data
runs-on: ubuntu-latest
steps:
- name: Download workspace
uses: actions/download-artifact@v4
with:
name: workspace-with-plugins
path: .
- run: corepack enable
- uses: actions/setup-node@v6
with:
node-version: '22'
# Pick your own package manager and build script
- run: pnpm install --frozen-lockfile
- name: Update stats
run: pnpm run update-stats
- run: pnpm run generate-github
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: ./.output/public
# Deployment job
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4