Skip to content

Commit

Permalink
Merge pull request #448 from UN-OCHA/OPS-10254-config-in-updates
Browse files Browse the repository at this point in the history
chore: include config changes with automatic updates
  • Loading branch information
lazysoundsystem authored Jun 24, 2024
2 parents 953165e + fadc20a commit 113a2e1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/composer-update-config.yml
Original file line number Diff line number Diff line change
@@ -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 }}
2 changes: 2 additions & 0 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 113a2e1

Please sign in to comment.