Skip to content

Bump the pre-commit-hooks group with 2 updates (#574) #261

Bump the pre-commit-hooks group with 2 updates (#574)

Bump the pre-commit-hooks group with 2 updates (#574) #261

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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Node.js (or other environment if needed)
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.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