Skip to content

Merge branch 'Nitro-Bolt:develop' into develop #5

Merge branch 'Nitro-Bolt:develop' into develop

Merge branch 'Nitro-Bolt:develop' into develop #5

Workflow file for this run

name: Build and Deploy
on:
workflow_dispatch:
push:
branches: [develop]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "deploy"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run build
env:
NODE_ENV: production
ROUTING_STYLE: hash
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./build/
deploy:
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