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

23 lines
479 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: 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:
name: nixin-website
path: |
.vitepress/dist