41426f96a1
All checks were successful
deploy to prod / Build and deploy site (push) Successful in 24s
22 lines
479 B
YAML
22 lines
479 B
YAML
name: "deploy to prod"
|
|
on:
|
|
push:
|
|
branches:
|
|
- prod
|
|
jobs:
|
|
build:
|
|
name: Build and deploy site
|
|
runs-on: debian-latest
|
|
steps:
|
|
- name: checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: npm ci
|
|
run: npm ci
|
|
- name: vitepress build
|
|
run: npm run docs:build
|
|
- name: create artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: nixin-website
|
|
path: |
|
|
.vitepress/dist
|