Skip to content

Commit

Permalink
chore: create keys as a post-rollout task
Browse files Browse the repository at this point in the history
  • Loading branch information
colorfield committed Oct 16, 2023
1 parent 24d983a commit a9b4c0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ tasks:
name: import translations from the ui
command: drush scr scripts/translations-import.php
service: cli
- run:
name: Create Keys for Simple OAuth if necessary
command: |
if [[ ! -f /app/keys/private.key || ! -f /app/keys/public.key ]]; then
drush simple-oauth:generate-keys /app/keys
fi
environments:
prod:
routes:
Expand Down

0 comments on commit a9b4c0f

Please sign in to comment.