diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f467ef477..894a236fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -149,6 +149,7 @@ jobs: USER_NAME : ${{ secrets.AWS_USER }} APP_SECRET: ${{ secrets.APP_SECRET }} POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} + COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }} run: | echo "$PRIVATE_KEY" > private_key && chmod 600 private_key ssh -o StrictHostKeyChecking=no -i private_key ${USER_NAME}@${HOSTNAME} " @@ -159,9 +160,9 @@ jobs: git fetch --all && git reset --hard origin/master && make .env && - cd front/gally-admin - git fetch --all && - git reset --hard origin/main && + cd front/gally-admin && git fetch --all && git reset --hard origin/main && cd /home/ubuntu/standalone && + docker-compose run --rm php composer config repositories.gally-premium composer https://packagist.smile.fr/gally + docker-compose run --rm -e COMPOSER_AUTH=$COMPOSER_AUTH php composer require gally/gally-premium dev-master SERVER_NAME=$HOSTNAME APP_SECRET=$APP_SECRET POSTGRES_PASSWORD=$POSTGRES_PASSWORD docker-compose -f docker-compose.yml -f docker-compose.int.yml up -d --build "