mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 14:02:55 +00:00
neon-project-create/delete: print project id to stdout (#3073)
Print project_id to GitHub Actions stdout
This commit is contained in:
committed by
GitHub
parent
ada5b7158f
commit
d3787f9b47
@@ -55,6 +55,8 @@ runs:
|
||||
|
||||
project_id=$(echo $project | jq --raw-output '.project.id')
|
||||
echo "project_id=${project_id}" >> $GITHUB_OUTPUT
|
||||
|
||||
echo "Project ${project_id} has been created"
|
||||
env:
|
||||
API_HOST: ${{ inputs.api_host }}
|
||||
API_KEY: ${{ inputs.api_key }}
|
||||
|
||||
@@ -27,6 +27,8 @@ runs:
|
||||
--header "Accept: application/json" \
|
||||
--header "Content-Type: application/json" \
|
||||
--header "Authorization: Bearer ${API_KEY}"
|
||||
|
||||
echo "Project ${PROJECT_ID} has been deleted"
|
||||
env:
|
||||
API_HOST: ${{ inputs.api_host }}
|
||||
API_KEY: ${{ inputs.api_key }}
|
||||
|
||||
Reference in New Issue
Block a user