Skip to content

Commit

Permalink
Merge branch 'fix-preview' into dev
Browse files Browse the repository at this point in the history
# Conflicts:
#	apps/preview/.lagoon.env
  • Loading branch information
colorfield committed Jun 26, 2024
2 parents 40710dc + 92912b5 commit 5f91a3c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
6 changes: 5 additions & 1 deletion INIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ replace(
process.env.PROJECT_NAME_MACHINE,
);
replace(
['apps/cms/.lagoon.env', 'apps/website/.lagoon.env'],
[
'apps/cms/.lagoon.env',
'apps/website/.lagoon.env',
'apps/preview/.lagoon.env',
],
'PROJECT_NAME=example',
'PROJECT_NAME=' + process.env.PROJECT_NAME_MACHINE,
);
Expand Down
1 change: 1 addition & 0 deletions apps/cms/.lagoon.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
PROJECT_NAME=example
PUBLISHER_URL="https://build.${LAGOON_ENVIRONMENT}.${LAGOON_PROJECT}.ch4.amazee.io"
NETLIFY_URL="https://build.${LAGOON_ENVIRONMENT}.${LAGOON_PROJECT}.ch4.amazee.io"
PREVIEW_URL="https://preview.${LAGOON_ENVIRONMENT}.${LAGOON_PROJECT}.ch4.amazee.io"
Expand Down
3 changes: 3 additions & 0 deletions apps/cms/.lagoon.env.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PUBLISHER_URL="https://${LAGOON_GIT_BRANCH}-${PROJECT_NAME}.build.amazeelabs.dev"
NETLIFY_URL="https://${LAGOON_GIT_BRANCH}-${PROJECT_NAME}.amazeelabs.dev"
PREVIEW_URL="https://${LAGOON_GIT_BRANCH}-${PROJECT_NAME}.preview.amazeelabs.dev"
10 changes: 3 additions & 7 deletions apps/cms/.lagoon.env.prod
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
PROJECT_NAME=example
PUBLISHER_URL="https://example.build.amazeelabs.dev"
NETLIFY_URL="https://example.amazeelabs.dev"
PREVIEW_URL="https://example.preview.amazeelabs.dev"

# Used to set the original client secret.
PUBLISHER_OAUTH2_CLIENT_SECRET=REPLACE_ME
PUBLISHER_URL="https://${PROJECT_NAME}.build.amazeelabs.dev"
NETLIFY_URL="https://${PROJECT_NAME}.amazeelabs.dev"
PREVIEW_URL="https://${PROJECT_NAME}.preview.amazeelabs.dev"
4 changes: 0 additions & 4 deletions apps/cms/.lagoon.env.stage
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
PROJECT_NAME=example
PUBLISHER_URL="https://${LAGOON_GIT_BRANCH}-${PROJECT_NAME}.build.amazeelabs.dev"
NETLIFY_URL="https://${LAGOON_GIT_BRANCH}-${PROJECT_NAME}.amazeelabs.dev"
PREVIEW_URL="https://${LAGOON_GIT_BRANCH}-${PROJECT_NAME}.preview.amazeelabs.dev"

# Used to set the original client secret.
PUBLISHER_OAUTH2_CLIENT_SECRET=REPLACE_ME
2 changes: 1 addition & 1 deletion apps/preview/.lagoon.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
PROJECT_NAME="example"
PROJECT_NAME=example
DRUPAL_URL="https://nginx.${LAGOON_ENVIRONMENT}.${LAGOON_PROJECT}.ch4.amazee.io"

0 comments on commit 5f91a3c

Please sign in to comment.