diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index fc9bd61..785a070 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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 }}."