chore: test woodpecker
This commit is contained in:
1 parent
0ebe1a9c04
commit
f734677a0f
1 file changed
+2
-10
+2
-10
@@ -6,19 +6,11 @@ steps:
|
||||
from_secret: STRAPI_URL
|
||||
SITE_URL:
|
||||
from_secret: SITE_URL
|
||||
volumes:
|
||||
- astro-dist:/deploy
|
||||
commands:
|
||||
- corepack enable
|
||||
- pnpm --filter front install --frozen-lockfile
|
||||
- pnpm front:build
|
||||
- find . -type d -name dist
|
||||
- ls -la front
|
||||
- ls -la front/dist
|
||||
deploy:
|
||||
image: alpine
|
||||
volumes:
|
||||
- astro-dist:/deploy
|
||||
commands:
|
||||
- rm -rf /deploy/*
|
||||
- echo "Sortutako fitxategiak:"
|
||||
- ls front/dist
|
||||
- cp -a front/dist/. /deploy/
|
||||
Reference in new issue
Block a user