24 lines
558 B
YAML
24 lines
558 B
YAML
name: "create artifact with nixin website"
|
|
on:
|
|
push:
|
|
branches:
|
|
- prod
|
|
jobs:
|
|
build:
|
|
name: Create artifact
|
|
runs-on: debian-latest
|
|
steps:
|
|
- name: debug style
|
|
run: ping git.distrilab.fr -c1
|
|
- 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@v4
|
|
with:
|
|
name: nixin-website
|
|
path: |
|
|
.vitepress/dist
|