From 0f8839ea0cde817f0ac462ce5f73c73ee594660b Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 3 Jan 2025 15:33:14 +1100 Subject: [PATCH] Add building web assets to CI/CD --- .gitea/workflows/build_docker.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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