mirror of
https://github.com/tlsnotary/website.git
synced 2026-01-09 14:58:09 -05:00
35 lines
747 B
YAML
35 lines
747 B
YAML
name: Build Dev
|
|
|
|
on:
|
|
push:
|
|
branches: [dev]
|
|
pull_request:
|
|
branches: [dev]
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-and-deploy-dev:
|
|
permissions:
|
|
contents: write
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout 🛒
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js ⚙️ - Cache dependencies ⚡ - Install dependencies 🔧
|
|
uses: ./.github/workflows/setup-node
|
|
|
|
- name: Setup Pages ⚙️
|
|
uses: actions/configure-pages@v4
|
|
with:
|
|
static_site_generator: next
|
|
|
|
- name: Build with Next.js 🏗️
|
|
run: npx next build
|
|
|