Update .woodpecker.yml
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
# 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}
|
||||
|
||||
Reference in New Issue
Block a user