nixin-web/.forgejo/workflows/artifact.yaml

27 lines
616 B
YAML
Raw Normal View History

2024-12-16 11:32:27 +00:00
name: "deploy to prod"
on:
push:
branches:
- prod
jobs:
build:
2024-12-16 11:32:27 +00:00
name: Build and deploy site
runs-on: debian-latest
steps:
- 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
- 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