Compare commits

..

2 Commits

2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
"type": "project", "type": "project",
"require": { "require": {
"php": ">=8.1", "php": ">=8.1",
"hackeamos.org/hms-theme": "^1.0" "wpackagist-theme/twentytwentyfive": "*"
}, },
"repositories": [ "repositories": [
{ {
+1
View File
@@ -17,6 +17,7 @@ RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli
# install composer dependencies # install composer dependencies
COPY composer.json composer.lock ./ COPY composer.json composer.lock ./
RUN --mount=type=secret,id=GITEA_TOKEN \ RUN --mount=type=secret,id=GITEA_TOKEN \
test -n "${GITEA_TOKEN}" && \
export TOKEN=$(cat /run/secrets/GITEA_TOKEN) && \ export TOKEN=$(cat /run/secrets/GITEA_TOKEN) && \
composer config --global auth.http-basic.seu-gitea.com token $TOKEN && \ composer config --global auth.http-basic.seu-gitea.com token $TOKEN && \
composer install --no-dev --optimize-autoloader composer install --no-dev --optimize-autoloader