Обновить .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:24:03 +03:00
parent dc9837b7c2
commit b287ee5551

View File

@ -17,6 +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"
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 *.deb ${{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 }}."