357722357c
All checks were successful
deploy to prod / Build and deploy site (push) Successful in 24s
26 lines
616 B
YAML
26 lines
616 B
YAML
name: "deploy to prod"
|
|
on:
|
|
push:
|
|
branches:
|
|
- prod
|
|
jobs:
|
|
build:
|
|
name: Build and deploy site
|
|
runs-on: debian-latest
|
|
steps:
|
|
- name: debug style
|
|
run: |
|
|
apt-get update && apt-get install -y iputils-ping
|
|
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
|