Skip to content

Bump the npm-dependencies group with 3 updates (#451) #167

Bump the npm-dependencies group with 3 updates (#451)

Bump the npm-dependencies group with 3 updates (#451) #167

Workflow file for this run

name: Deploy static site to GitHub Pages
on:
push:
branches:
- main
jobs:
deployment:
if: github.repository == 'NextCommunity/NextCommunity.github.io'
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Node.js (or other environment if needed)
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24
- name: Install dependencies and build site
run: |
npm install
npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: "_site" # The directory that contains the deployable files
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0