2024-12-16 11:20:10 +00:00
|
|
|
name: "create artifact with nixin website"
|
2024-12-16 10:46:36 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- prod
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Create artifact
|
|
|
|
runs-on: debian-latest
|
|
|
|
steps:
|
2024-12-16 11:20:10 +00:00
|
|
|
- name: debug style
|
2024-12-16 11:23:24 +00:00
|
|
|
run: |
|
2024-12-16 11:24:42 +00:00
|
|
|
apt-get update && apt-get install -y iputils-ping
|
2024-12-16 11:23:24 +00:00
|
|
|
ping git.distrilab.fr -c1
|
2024-12-16 10:46:36 +00:00
|
|
|
- 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
|