Add URL to package in build.yaml
This commit is contained in:
parent
7b6f68f47b
commit
c962a1985c
@ -65,6 +65,8 @@ jobs:
|
||||
package_name=$(basename ${{ gitea.repository }})
|
||||
branch_name=$(git rev-parse --abbrev-ref HEAD)
|
||||
current_date=$(date +%Y-%m-%d-%H-%M-%S)
|
||||
echo "https://soaska.ru/api/packages/${{ secrets.username }}/generic/$package_name-$branch_name/¤t_date/$package_name"
|
||||
|
||||
|
||||
curl --user ${{ secrets.username }}:${{ secrets.password }} \
|
||||
--upload-file /$package_name \
|
||||
|
Loading…
Reference in New Issue
Block a user