feat(ci): create artifact with nixin website
This commit is contained in:
parent
5ea8cb77f5
commit
c0ead217e4
1 changed files with 24 additions and 0 deletions
24
.forgejo/workflows/artifact.yaml
Normal file
24
.forgejo/workflows/artifact.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: "create artifact with nixin's website"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- prod
|
||||
jobs:
|
||||
build:
|
||||
name: Create artifact
|
||||
runs-on: debian-latest
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: show what we get
|
||||
run: ls -l
|
||||
- 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
|
Loading…
Reference in a new issue