diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index 051b8ca..e600ed5 100644 --- a/.gitea/workflows/build_docker.yaml +++ b/.gitea/workflows/build_docker.yaml @@ -36,10 +36,7 @@ jobs: mv .env.testing .env # Install Composer and project dependencies. mkdir -p ${COMPOSER_HOME} - if [ -n "${{ secrets.COMPOSER_GITHUB_TOKEN }}" ]; then echo ${{ secrets.COMPOSER_GITHUB_TOKEN }} > ${COMPOSER_HOME}/auth.json; fi - echo "Compose HOME [${COMPOSER_HOME}]" - ls -al ${COMPOSER_HOME} - cat ${COMPOSER_HOME}/auth.json + if [ -n "${{ secrets.COMPOSER_GITHUB_TOKEN }}" ]; then composer config github-oauth.github.com token ${{ secrets.COMPOSER_GITHUB_TOKEN }}; fi composer install # Generate an application key. Re-cache. php artisan key:generate