parent
07578c896b
commit
8c5ada3f94
1 changed files with 0 additions and 14 deletions
14
spcd.sh
14
spcd.sh
|
@ -12,7 +12,6 @@
|
||||||
|
|
||||||
# main
|
# main
|
||||||
spcd_main() {
|
spcd_main() {
|
||||||
spcd_list_environment_variables
|
|
||||||
spcd_set_environment_variables
|
spcd_set_environment_variables
|
||||||
#
|
#
|
||||||
spcd_list_working_directory
|
spcd_list_working_directory
|
||||||
|
@ -41,19 +40,6 @@ spcd_main() {
|
||||||
|
|
||||||
# steps
|
# steps
|
||||||
|
|
||||||
spcd_list_environment_variables() {
|
|
||||||
spcd_step "List environment variables"
|
|
||||||
for spcd_lev__name in $(printenv | cut -d = -f 1 | sort); do
|
|
||||||
if [ "${spcd_lev__name}" != "SPCD_SSH_KEY" ]; then
|
|
||||||
spcd_lev__text=
|
|
||||||
eval "spcd_lev__text=\"\${${spcd_lev__name}}\""
|
|
||||||
echo "${spcd_lev__name}=${spcd_lev__text}"
|
|
||||||
else
|
|
||||||
echo "${spcd_lev__name}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
spcd_set_environment_variables() {
|
spcd_set_environment_variables() {
|
||||||
spcd_step "Set environment variables"
|
spcd_step "Set environment variables"
|
||||||
# continuous integration / github → gitea → forgejo
|
# continuous integration / github → gitea → forgejo
|
||||||
|
|
Loading…
Reference in a new issue