This commit is contained in:
parent
fcdb7a7e4c
commit
7106a14412
1 changed files with 28 additions and 0 deletions
28
.forgejo/workflows/deploy.yaml
Normal file
28
.forgejo/workflows/deploy.yaml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: docker.io/library/node:24-alpine
|
||||||
|
steps:
|
||||||
|
- name: Install Git
|
||||||
|
run: apk add --no-cache git
|
||||||
|
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
github-server-url: 'https://teasanctuary.ru/git'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm i --include=dev
|
||||||
|
|
||||||
|
- name: Build frontend
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: website
|
||||||
|
path: build/
|
Loading…
Add table
Add a link
Reference in a new issue