production ready version
This commit is contained in:
parent
d4c725d736
commit
0af3c6aa6e
@ -2,10 +2,6 @@
|
|||||||
set -e
|
set -e
|
||||||
command_string="ansible-galaxy role import"
|
command_string="ansible-galaxy role import"
|
||||||
|
|
||||||
echo "Github repo owner: ${GITHUB_REPOSITORY_OWNER}"
|
|
||||||
echo "Github repo name: ${GITHUB_REPOSITORY}"
|
|
||||||
echo "galaxy_api_key: ${GALAXY_API_TOKEN}"
|
|
||||||
|
|
||||||
if [ -n "${GALAXY_API_TOKEN}" ]; then
|
if [ -n "${GALAXY_API_TOKEN}" ]; then
|
||||||
command_string="$command_string --api-key ${GALAXY_API_TOKEN} ${GITHUB_REPOSITORY%/*} ${GITHUB_REPOSITORY#*/}"
|
command_string="$command_string --api-key ${GALAXY_API_TOKEN} ${GITHUB_REPOSITORY%/*} ${GITHUB_REPOSITORY#*/}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user