Skip to content

Commit

Permalink
Merge pull request #564 from reportportal/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
AmsterGet authored Oct 31, 2024
2 parents 3408fb7 + fb1f94e commit 6a67275
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @AmsterGet @ViktorSoroka07
* @AmsterGet @ViktorSoroka07 @maria-hambardzumian
27 changes: 12 additions & 15 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,8 @@ name: Deploy to dev (AWS S3)
env:
AWS_S3_BUCKET_NAME : rpp-landing
AWS_REGION_NAME : eu-central-1
BUILD_DIR : public/
CONTACT_US_URL: https://testio--partial.sandbox.my.salesforce-sites.com/leadcapture/services/apexrest/leadservice
DOCUMENTATION_URL: //reportportal.io/docs
GTM_ID: GTM-MK7ZHTL
CLOUDFRONT_ID: EILUB1IE9EON0
GATSBY_MAILCHIMP_LIST_ID: ca6d0eec5b
CONTENTFUL_ENV_ID: master
CONTENTFUL_HOST: cdn.contentful.com
BUILD_DIR : public/

on:
push:
Expand Down Expand Up @@ -88,8 +82,12 @@ jobs:
run: |
touch .env.production
CONTENTFUL_ENV_ID=${{ env.CONTENTFUL_ENV_ID }}
CONTENTFUL_HOST=${{ env.CONTENTFUL_HOST }}
CONTACT_US_URL=https://testio--partial.sandbox.my.salesforce-sites.com/leadcapture/services/apexrest/leadservice
DOCUMENTATION_URL=//reportportal.io/docs
GTM_ID=GTM-MK7ZHTL
GATSBY_MAILCHIMP_LIST_ID=ca6d0eec5b
CONTENTFUL_ENV_ID=master
CONTENTFUL_HOST=cdn.contentful.com
CONTENTFUL_ACCESS_TOKEN=${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
Expand All @@ -100,15 +98,14 @@ jobs:
CONTENTFUL_ACCESS_TOKEN=${{ secrets.CONTENTFUL_PREVIEW_ACCESS_TOKEN_DEV }}
fi
fi
echo CONTENTFUL_ACCESS_TOKEN=$CONTENTFUL_ACCESS_TOKEN >> .env.production
echo CONTENTFUL_ENV_ID=$CONTENTFUL_ENV_ID >> .env.production
echo CONTENTFUL_HOST=$CONTENTFUL_HOST >> .env.production
echo CONTENTFUL_ACCESS_TOKEN=$CONTENTFUL_ACCESS_TOKEN >> .env.production
echo CONTENTFUL_SPACE_ID=${{ secrets.CONTENTFUL_SPACE_ID_DEV }} >> .env.production
echo GTM_ID=${{ env.GTM_ID }} >> .env.production
echo CONTACT_US_URL=${{ env.CONTACT_US_URL }} >> .env.production
echo DOCUMENTATION_URL=${{ env.DOCUMENTATION_URL }} >> .env.production
echo GATSBY_MAILCHIMP_LIST_ID=${{ env.GATSBY_MAILCHIMP_LIST_ID }} >> .env.production
echo GTM_ID=$GTM_ID >> .env.production
echo CONTACT_US_URL=$CONTACT_US_URL >> .env.production
echo DOCUMENTATION_URL=$DOCUMENTATION_URL >> .env.production
echo GATSBY_MAILCHIMP_LIST_ID=$GATSBY_MAILCHIMP_LIST_ID >> .env.production
- name: Build the source code
run: npm run build
Expand Down
5 changes: 5 additions & 0 deletions src/containers/BlogPostPage/BlogPostPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@
margin-bottom: 164px;
}

p {
white-space: pre-wrap;
}

.blog-post-page__second-heading:first-child,
.blog-post-page__paragraph:first-child {
margin-top: 0;
Expand Down Expand Up @@ -386,6 +390,7 @@

margin: 8px 0 0;
line-height: 24px;
white-space: pre-wrap;
color: var(--dark);

&:first-child {
Expand Down
11 changes: 0 additions & 11 deletions src/containers/BlogPostPage/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,4 @@ export const OPTIONS = {
<td className="blog-post-page__table-cell">{children}</td>
),
},
renderText: text =>
text
.split('\n')
.reduce(
(children, textSegment, index) => [
...children,
index > 0 && <br key={index} />,
textSegment,
],
[],
),
};

0 comments on commit 6a67275

Please sign in to comment.