@@ -12,10 +12,8 @@ password = {password}
|
||||
|
||||
# Replace placeholders with environment variables
|
||||
config_output=$(echo "$config_template" | \
|
||||
sed -e "s/{repository}/$PYPI_REPO_DOMAIN/g" \
|
||||
-e "s/{username}/$PYPI_REPO_USER/g" \
|
||||
-e "s/{password}/$PYPI_REPO_PASS/g")
|
||||
|
||||
echo "$config_output"
|
||||
sed -e "s/{repository}/$INPUT_PYPI_REPO_DOMAIN/g" \
|
||||
-e "s/{username}/$INPUT_PYPI_REPO_USER/g" \
|
||||
-e "s/{password}/$INPUT_PYPI_REPO_PASS/g")
|
||||
|
||||
echo "$config_output" > "$HOME/.pypirc"
|
||||
Reference in New Issue
Block a user