diff --git a/.github/workflows/composer-update-config.yml b/.github/workflows/composer-update-config.yml new file mode 100644 index 00000000..f02438f9 --- /dev/null +++ b/.github/workflows/composer-update-config.yml @@ -0,0 +1,20 @@ +name: Run Composer Update with Config + +on: + workflow_dispatch: + +jobs: + update: + runs-on: ubuntu-latest + steps: + - name: Update The Thing with config + id: update-action-with-config + uses: UN-OCHA/actions/composer-update@OPS-10254-config-too + with: + aws_access_key_id: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} + aws_secret_access_key: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} + github_access_token: ${{ secrets.PAT }} + patch_branch: ${{ github.head_ref || github.ref_name }} + patch_maintainers: ${{ secrets.DRUPAL_MAINTAINERS }} + slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }} + slack_channel_name: ${{ vars.SLACK_CHANNEL }} diff --git a/tests/docker-compose.yml b/tests/docker-compose.yml index 327de1ae..0a4030a9 100644 --- a/tests/docker-compose.yml +++ b/tests/docker-compose.yml @@ -30,6 +30,8 @@ services: - mysql volumes: - "./settings:/srv/www/shared/settings:ro" + # Mount config. + - "../config:/srv/www/config:rw" # Mount volumes for the private and public files. - "common-design-test-site-public:/srv/www/html/sites/default/files:rw" - "common-design-test-site-private:/srv/www/html/sites/default/private:rw"