Update .woodpecker.yml

This commit is contained in:
2026-01-02 14:14:57 +01:00
parent e04f133b49
commit f3977428ef

View File

@@ -1,11 +1,13 @@
clone:
# Wyłącz domyślne clone wykonywane przez Woodpecker
clone:
disable: true
steps:
# Główna pipeline wszystko co chcesz wykonać
pipeline:
clone-manual:
image: woodpeckerci/plugin-git
settings:
remote: http://gitea:3000/FA/FA_WEB.git # wewnętrzny URL, agent widzi gitea po nazwie serwisu!
remote: http://gitea:3000/FA/FA_WEB.git
branch: master
depth: 1
@@ -50,7 +52,7 @@
for proj in $(find . -name "*API.csproj"); do
proj_name=$(basename "$proj" .csproj)
echo "Publishing $proj"
dotnet publish "$$ proj" --no-build -c Release -o ./publish/ $${proj_name}
dotnet publish "$proj" --no-build -c Release -o ./publish/$proj_name
done
when:
branch: ${CI_REPO_DEFAULT_BRANCH}