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

23 lines
518 B
YAML
Raw Normal View History

2024-12-16 11:44:39 +00:00
name: "create artifact with nixin website"
on:
push:
branches:
- prod
jobs:
build:
2024-12-16 11:52:05 +00:00
name: Build and upload artefact of website
runs-on: debian-latest
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: npm ci
run: npm ci
- name: vitepress build
run: npm run docs:build
- name: create artifact
2024-12-16 11:36:36 +00:00
uses: actions/upload-artifact@v3
with:
2024-12-16 12:13:50 +00:00
name: nixin-website.zip
path: |
.vitepress/dist