diff --git a/webhooks-git/Dockerfile b/webhooks-git/Dockerfile index 5ad0834..1dc54d4 100644 --- a/webhooks-git/Dockerfile +++ b/webhooks-git/Dockerfile @@ -11,11 +11,8 @@ RUN apk --no-cache add git openssh-client bash nano gettext ARG WEBHOOK_SECRET ENV WEBHOOK_SECRET=${WEBHOOK_SECRET} -ARG GIT_SERVER_ASSETS -ENV GIT_SERVER_ASSETS=${GIT_SERVER_ASSETS} - -ARG GIT_SERVER_PROGRAMM -ENV GIT_SERVER_PROGRAMM=${GIT_SERVER_PROGRAMM} +ARG GIT_SERVER_DATI_STAGING +ENV GIT_SERVER_DADI_STAGING=${GIT_SERVER_DADI_STAGING} # copy binaries and scripts COPY --from=build /usr/local/bin/webhook /usr/local/bin/webhook @@ -25,10 +22,10 @@ COPY hooks.json.tmpl /etc/webhook/hooks.json.tmpl COPY entrypoint.sh /etc/webhook/entrypoint.sh RUN chmod +x /etc/webhook/entrypoint.sh -COPY programm-hook.sh /etc/webhook/dadi-staging-hook.sh +COPY dadi-staging-hook.sh /etc/webhook/dadi-staging-hook.sh RUN chmod +x /etc/webhook/dadi-staging-hook.sh -COPY programm-init.sh /etc/webhook/dadi-staging-init.sh +COPY dadi-staging-init.sh /etc/webhook/dadi-staging-init.sh RUN chmod +x /etc/webhook/dadi-staging-init.sh COPY generate_index_html.sh /etc/webhook/generate_index_html.sh diff --git a/webhooks-git/dadi-staging-init.sh b/webhooks-git/dadi-staging-init.sh index e5189c1..3c075ba 100644 --- a/webhooks-git/dadi-staging-init.sh +++ b/webhooks-git/dadi-staging-init.sh @@ -11,7 +11,7 @@ BRANCHES_FOLDER="/html/branches" DADI_STAGING_REPOSITORY="git_dadi_staging:AG-IT/KlDaDiSeite.git" # -# Remove all branch folders but assets +# Remove all branch folders # for dir in "$BRANCHES_FOLDER"/*/; do