Skip to content

Merge pull request #3 from ProjectIxian/jaka/feat/pp+styles #15

Merge pull request #3 from ProjectIxian/jaka/feat/pp+styles

Merge pull request #3 from ProjectIxian/jaka/feat/pp+styles #15

Workflow file for this run

name: Build Next.js app and deploy to GitHub Pages
on:
workflow_dispatch:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: npm install
- name: Build Next.js app
run: npm run build
env:
CI: true
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./out
deploy:
needs: build
permissions:
pages: write
id-token: write
contents: read
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