All checks were successful
Build and Deploy / build_and_deploy (push) Successful in 2m2s
23 lines
470 B
YAML
23 lines
470 B
YAML
name: Build and Deploy
|
|
on: [push]
|
|
|
|
env:
|
|
DARK_VISITORS_ACCESS_TOKEN: "${{ secrets.DARK_VISITORS_ACCESS_TOKEN }}"
|
|
|
|
jobs:
|
|
build_and_deploy:
|
|
runs-on: docker
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Build the website
|
|
run: npm run build
|