diff --git a/.woodpecker.yml b/.woodpecker.yml index c7e90ca..171f550 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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/