Merge branch 'main' of git.fosil.eu:labasarea/laba-webgunea
This commit is contained in:
25
.woodpecker.yml
Normal file
25
.woodpecker.yml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
skip_clone: true
|
||||||
|
|
||||||
|
steps:
|
||||||
|
clone:
|
||||||
|
image: alpine/git
|
||||||
|
commands:
|
||||||
|
- echo "172.17.0.1 git.fosil.eu" >> /etc/hosts
|
||||||
|
- git clone https://git.fosil.eu/labasarea/laba-webgunea.git .
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: node:22-alpine
|
||||||
|
environment:
|
||||||
|
STRAPI_URL:
|
||||||
|
from_secret: STRAPI_URL
|
||||||
|
SITE_URL:
|
||||||
|
from_secret: SITE_URL
|
||||||
|
volumes:
|
||||||
|
- astro-dist:/deploy
|
||||||
|
commands:
|
||||||
|
- echo "172.17.0.1 kudeatu.laba.eus" >> /etc/hosts
|
||||||
|
- corepack enable
|
||||||
|
- pnpm --filter front install --frozen-lockfile
|
||||||
|
- pnpm front:build
|
||||||
|
- rm -rf /deploy/*
|
||||||
|
- cp -a front/dist/. /deploy/
|
||||||
Reference in New Issue
Block a user