Compare commits

...

2 Commits

2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
"type": "project",
"require": {
"php": ">=8.1",
"hackeamos.org/hms-theme": "^1.0"
"wpackagist-theme/twentytwentyfive": "*"
},
"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
COPY composer.json composer.lock ./
RUN --mount=type=secret,id=GITEA_TOKEN \
test -n "${GITEA_TOKEN}" && \
export TOKEN=$(cat /run/secrets/GITEA_TOKEN) && \
composer config --global auth.http-basic.seu-gitea.com token $TOKEN && \
composer install --no-dev --optimize-autoloader