Add environment variable for production deployment
Some checks failed
Actions Build Docker Image / Build-Binary (push) Failing after 3s
Actions Build Docker Image / Build-Docker-Image (push) Successful in 9s

This commit is contained in:
Alex Borisov 2024-02-01 19:59:21 +03:00
parent 913843ff3b
commit 7b6f68f47b

View File

@ -66,8 +66,8 @@ jobs:
branch_name=$(git rev-parse --abbrev-ref HEAD) branch_name=$(git rev-parse --abbrev-ref HEAD)
current_date=$(date +%Y-%m-%d-%H-%M-%S) current_date=$(date +%Y-%m-%d-%H-%M-%S)
echo "package_name: $package_name" "branch_name: $branch_name" "current_date: $current_date"
curl --user ${{ secrets.username }}:${{ secrets.password }} \ curl --user ${{ secrets.username }}:${{ secrets.password }} \
--upload-file /$package_name \ --upload-file /$package_name \
https://soaska.ru/api/packages/${{ secrets.username }}/generic/$package_name-$branch_name/&current_date/$package_name https://soaska.ru/api/packages/${{ secrets.username }}/generic/$package_name-$branch_name/&current_date/$package_name
env:
ENVIRONMENT: production