first check

This commit is contained in:
Marc Beninca 2024-07-30 00:08:04 +02:00
parent faf152acdb
commit 07ae43d17e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -42,6 +42,8 @@ spcd_main() {
spcd_set_environment_variables() { spcd_set_environment_variables() {
spcd_step "Set environment variables" spcd_step "Set environment variables"
# check script first
[ -n "${SPCD}" ] || spcd_error_ci "SPCD"
# continuous integration / github → gitea → forgejo # continuous integration / github → gitea → forgejo
if [ -n "${GITHUB_ACTIONS}" ]; then if [ -n "${GITHUB_ACTIONS}" ]; then
# project branch # project branch