Обновить .gitea/workflows/build.yml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s

This commit is contained in:
svk 2024-06-27 13:25:16 +03:00
parent b287ee5551
commit 23de123a0b

View File

@ -17,7 +17,7 @@ jobs:
cd projman/debian
./build-deb-projman.sh
cd ../../
#echo "curl --user ${{ vars.user}}:${{vars.api_token}} --upload-file *.deb ${{vars.main_url}}/api/packages/${{vars.user}}/debian/pool/bookworm/main/upload"
echo "curl --user ${{ vars.user}}:${{vars.api_token}} --upload-file ${{ PACKAGE_FILE }} ${{vars.main_url}}api/packages/${{vars.user}}/debian/pool/bookworm/main/upload"
export PACKAGE_FILE=$(ls -1| grep projman | grep -E "deb$")
curl --user ${{ vars.user}}:${{vars.api_token}} --upload-file "${{ PACKAGE_FILE }}" ${{vars.main_url}}api/packages/${{vars.user}}/debian/pool/bookworm/main/upload
- run: echo "🍏 This job's status is ${{ job.status }}."