nixin-web/.forgejo/workflows/artifact.yaml
Florian Schmitt 357722357c
All checks were successful
deploy to prod / Build and deploy site (push) Successful in 24s
this is madness
2024-12-16 14:32:27 +03:00

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