-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into YALB-1057-quotes
- Loading branch information
Showing
163 changed files
with
6,387 additions
and
1,439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Create a release | ||
on: | ||
push: | ||
branches: master | ||
env: | ||
GH_TOKEN: ${{ secrets.YALESITES_BUILD_TOKEN }} | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
|
||
- name: Install | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
run: npm install | ||
|
||
- name: Release | ||
run: npx semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
#!/bin/bash | ||
|
||
lando drush updatedb -y | ||
lando drush cr | ||
lando drush config-import -y | ||
lando drush cr | ||
lando drush deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,8 @@ | ||
<?php | ||
|
||
if ($_POST['user_email'] !== '[email protected]') { | ||
// Update databases | ||
echo "Running database updates...\n"; | ||
passthru('drush updatedb -y'); | ||
echo "Database updates complete.\n"; | ||
|
||
// Clear all cache | ||
echo "Rebuilding cache...\n"; | ||
passthru('drush cr'); | ||
echo "Rebuilding cache complete.\n"; | ||
|
||
// Import all config changes. | ||
echo "Importing configuration from yml files...\n"; | ||
passthru('drush config-import -y'); | ||
echo "Import of configuration complete.\n"; | ||
|
||
// Clear all cache | ||
echo "Rebuilding cache...\n"; | ||
passthru('drush cr'); | ||
echo "Rebuilding cache complete.\n"; | ||
// Update databases. | ||
echo "Running drush deploy...\n"; | ||
passthru('drush deploy'); | ||
echo "Drush deploy complete.\n"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
web/profiles/custom/yalesites_profile/config/sync/auto_entitylabel.settings.node.profile.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
status: 2 | ||
pattern: '[node:field_honorific_prefix] [node:field_first_name] [node:field_last_name]' | ||
escape: false | ||
preserve_titles: false | ||
save: false | ||
chunk: 50 | ||
dependencies: | ||
config: | ||
- node.type.profile |
33 changes: 33 additions & 0 deletions
33
web/profiles/custom/yalesites_profile/config/sync/block_content.type.directory.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
uuid: 1750e408-d227-4e53-9607-987cba895738 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- entity_redirect | ||
third_party_settings: | ||
entity_redirect: | ||
redirect: | ||
add: | ||
active: 0 | ||
destination: default | ||
url: '' | ||
external: '' | ||
edit: | ||
active: 0 | ||
destination: default | ||
url: '' | ||
external: '' | ||
delete: | ||
active: 0 | ||
destination: default | ||
url: '' | ||
external: '' | ||
anonymous: | ||
active: 0 | ||
destination: default | ||
url: '' | ||
external: '' | ||
id: directory | ||
label: Directory | ||
revision: 0 | ||
description: 'Display a list of profiles as a directory list including detailed contact information.' |
22 changes: 22 additions & 0 deletions
22
...es/custom/yalesites_profile/config/sync/core.base_field_override.node.profile.promote.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
uuid: 3ec0b7cb-2e3a-4b6d-b9c1-5fd0292eb82f | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.profile | ||
id: node.profile.promote | ||
field_name: promote | ||
entity_type: node | ||
bundle: profile | ||
label: 'Promoted to front page' | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: | ||
- | ||
value: 0 | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
22 changes: 22 additions & 0 deletions
22
...les/custom/yalesites_profile/config/sync/core.base_field_override.node.profile.sticky.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
uuid: 667c10bc-f35e-40dc-b00c-5fa1619d176c | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.profile | ||
id: node.profile.sticky | ||
field_name: sticky | ||
entity_type: node | ||
bundle: profile | ||
label: 'Sticky at top of lists' | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: | ||
- | ||
value: 0 | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
18 changes: 18 additions & 0 deletions
18
...iles/custom/yalesites_profile/config/sync/core.base_field_override.node.profile.title.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
uuid: cca9c181-8043-40a7-abde-a1d3536c86f2 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.profile | ||
id: node.profile.title | ||
field_name: title | ||
entity_type: node | ||
bundle: profile | ||
label: 'Display Name' | ||
description: '' | ||
required: true | ||
translatable: true | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
42 changes: 42 additions & 0 deletions
42
...alesites_profile/config/sync/core.entity_form_display.block_content.directory.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
uuid: e3b685ac-6ba5-44b2-b684-d480c7ee65cf | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- block_content.type.directory | ||
- field.field.block_content.directory.field_heading | ||
- field.field.block_content.directory.field_instructions | ||
module: | ||
- allowed_formats | ||
- markup | ||
- maxlength | ||
- text | ||
id: block_content.directory.default | ||
targetEntityType: block_content | ||
bundle: directory | ||
mode: default | ||
content: | ||
field_heading: | ||
type: text_textfield | ||
weight: 1 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: | ||
allowed_formats: | ||
hide_help: '1' | ||
hide_guidelines: '1' | ||
maxlength: | ||
maxlength_js: 50 | ||
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>' | ||
maxlength_js_enforce: false | ||
field_instructions: | ||
type: markup | ||
weight: 0 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: | ||
info: true | ||
revision_log: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.