Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

feat: save and sync #26

feat: save and sync

feat: save and sync #26

Workflow file for this run

name: Build test
on:
push:
branches:
- main # Set a branch name to trigger deployment
pull_request:
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Build webpage
run: |
npm ci
npm run build
- name: Build server
run: |
cd server
npm ci
npm run build