Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Sep 14, 2022
2 parents c228c0d + 518e2d3 commit e372f8e
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 22 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ jobs:
runs-on: ${{ matrix.os }}

environment:
name: staging
# @TODO - umami.demo.druxtjs.org
url: https://demo.druxtjs.org
name: production
url: https://umami.demo.druxtjs.org

strategy:
matrix:
Expand Down Expand Up @@ -40,7 +39,7 @@ jobs:
- name: Wait for backend
uses: nev7n/wait_for_response@v1
with:
url: 'https://nginx.production-backend.druxtjs-org-demo-umami.au2.amazee.io/jsonapi'
url: 'https://api.umami.demo.druxtjs.org/jsonapi'
responseCode: 200
timeout: 600000
interval: 15000
Expand All @@ -56,7 +55,7 @@ jobs:
- name: Wait for frontend
uses: nev7n/wait_for_response@v1
with:
url: 'https://demo.druxtjs.org'
url: 'https://umami.demo.druxtjs.org'
responseCode: 200
timeout: 600000
interval: 15000
Expand Down
2 changes: 1 addition & 1 deletion .lagoon.env.develop
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BASE_URL=https://nginx.develop.demo-api-druxtjs-org.au2.amazee.io
BASE_URL=https://nginx.develop.api.umami.demo-druxtjs-org.au2.amazee.io
2 changes: 1 addition & 1 deletion .lagoon.env.main
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BASE_URL=https://demo-api.druxtjs.org/
BASE_URL=https://api.umami.demo.druxtjs.org/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

This is a demonstation of how to create a DruxtSite using the Drupal 9 Umami installation profile.

View the site @ https://demo.druxtjs.org
View the site @ https://umami.demo.druxtjs.org

---

Expand Down
2 changes: 1 addition & 1 deletion drupal/.lando.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: demo-api-druxtjs-org
name: druxtjs-org-demo-umami
recipe: lagoon
config:
build:
Expand Down
2 changes: 1 addition & 1 deletion drupal/composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "druxt/demo-api-druxtjs-org",
"name": "druxt/druxtjs-org-demo-umami",
"description": "Drupal 9 JSON:API backend for Demonstration purposes.",
"type": "project",
"license": "GPL-2.0+",
Expand Down
2 changes: 1 addition & 1 deletion drupal/config/sync/druxt_node_preview.settings.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_core:
default_config_hash: zxe4iTJgwgQ0ebZqu57Rxp5NtvCPhcY-k67pNawPUVQ
langcode: en
frontends: 'Production|https://demo.druxtjs.org/node/preview/[view_mode]#[jsonapi_node_preview]'
frontends: 'Production|https://umami.demo.druxtjs.org/node/preview/[view_mode]#[jsonapi_node_preview]'
2 changes: 1 addition & 1 deletion drupal/phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<env name="SIMPLETEST_DB" value="mysql://drupal:drupal@mariadb/drupal"/>

<env name="BROWSERTEST_OUTPUT_DIRECTORY" value="./web/sites/simpletest/browser_output"/>
<env name="BROWSERTEST_OUTPUT_BASE_URL" value="http://demo-api-druxtjs-org.docker.amazee.io"/>
<env name="BROWSERTEST_OUTPUT_BASE_URL" value="http://druxtjs-org-demo-umami.docker.amazee.io"/>

<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/>
</php>
Expand Down
8 changes: 4 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@

[[redirects]]
from = "/en/jsonapi*"
to = "https://demo-api.druxtjs.org/jsonapi:splat"
to = "https://api.umami.demo.druxtjs.org/jsonapi:splat"

[[redirects]]
from = "/es/jsonapi*"
to = "https://demo-api.druxtjs.org/en/jsonapi:splat"
to = "https://api.umami.demo.druxtjs.org/en/jsonapi:splat"

[[redirects]]
from = "/jsonapi*"
to = "https://demo-api.druxtjs.org/es/jsonapi:splat"
to = "https://api.umami.demo.druxtjs.org/es/jsonapi:splat"

[[redirects]]
from = "/router/translate-path*"
to = "https://demo-api.druxtjs.org/router/translate-path:splat"
to = "https://api.umami.demo.druxtjs.org/router/translate-path:splat"
8 changes: 4 additions & 4 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ server {
}

location /en/jsonapi {
proxy_pass https://demo-api.druxtjs.org;
proxy_pass https://api.umami.demo.druxtjs.org;
proxy_set_header Host $proxy_host;
}

location /es/jsonapi {
proxy_pass https://demo-api.druxtjs.org;
proxy_pass https://api.umami.demo.druxtjs.org;
proxy_set_header Host $proxy_host;
}

location /jsonapi {
proxy_pass https://demo-api.druxtjs.org;
proxy_pass https://api.umami.demo.druxtjs.org;
proxy_set_header Host $proxy_host;
}

location /router/translate-path {
proxy_pass https://demo-api.druxtjs.org;
proxy_pass https://api.umami.demo.druxtjs.org;
proxy_set_header Host $proxy_host;
}
}
4 changes: 2 additions & 2 deletions nuxt/stories/README.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Meta } from '@storybook/addon-docs/blocks'
# Druxt Umami Storybook

This is the Storybook for the Druxt Umami Parity project:
https://demo.druxtjs.org
https://umami.demo.druxtjs.org

The Druxt Umami Parity project is an example of how to build a fully decoupled
Drupal site with a Nuxt.js frontend using [Druxt](https://druxtjs.org).
Expand All @@ -29,4 +29,4 @@ For more information see https://druxtjs.org/guide/storybook

## Opensource

The source code for the Druxt Umami demo and storybook can be found @ https://github.com/druxt/demo.druxtjs.org
The source code for the Druxt Umami demo and storybook can be found @ https://github.com/druxt/umami.demo.druxtjs.org

0 comments on commit e372f8e

Please sign in to comment.