Skip to content

Commit

Permalink
chore: include config changes in automatic updates
Browse files Browse the repository at this point in the history
Refs: OPS-10254
  • Loading branch information
lazysoundsystem committed Jun 24, 2024
1 parent 355dc93 commit 75c609d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
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
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: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ drush queue:run ocha_ai_summarize_summarize --verbose
drush queue:run ocha_ai_summarize_action_points --verbose
```

We can either use cron to run the queues or run them separatly
We can either use cron to run the queues or run them separately

## Flow

Expand Down
2 changes: 2 additions & 0 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,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.
- "ai-summarize-test-site-public:/srv/www/html/sites/default/files:rw"
- "ai-summarize-test-site-private:/srv/www/html/sites/default/private:rw"
Expand Down

0 comments on commit 75c609d

Please sign in to comment.