Add environment variable for production deployment
This commit is contained in:
parent
913843ff3b
commit
7b6f68f47b
@ -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/¤t_date/$package_name
|
https://soaska.ru/api/packages/${{ secrets.username }}/generic/$package_name-$branch_name/¤t_date/$package_name
|
||||||
|
env:
|
||||||
|
ENVIRONMENT: production
|
||||||
|
Loading…
Reference in New Issue
Block a user