Skip to content
Closed

testing #14254

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
CDN_PULUMI_URN: ${{ vars.CDN_PULUMI_URN }}
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
PULUMI_STACK_NAME: ${{ vars.PULUMI_STACK_NAME }}
DEPLOYMENT_ENVIRONMENT: ${{ vars.DEPLOYMENT_ENVIRONMENT }}
DEPLOYMENT_ENVIRONMENT: "production"
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PULUMI_BOT_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
Expand Down
4 changes: 3 additions & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,9 @@

{{- if eq hugo.Environment "production" }}
<!-- 6sense -->
<script async defer id="6senseWebTag" src="https://j.6sc.co/j/a4dca4b3-351c-4764-bda9-03c5caf5fedf.js"></script>
<script type="text/javascript">
!function(){window._6si=window._6si||[],window._6si.push(["setToken","1e475d2ad21c8c778810aef34ac27197"]),window._6si.push(["disableCookies",!1]),window._6si.push(["enableIPv6Ping",!0]),window._6si.push(["enableIgnorePageUrlHash",!0]),window._6si.push(["enableRetargeting",!1]),window._6si.push(["setWhiteListFields",[]]),window._6si.push(["setCustomMetatags",[]]),window._6si.push(["storeTagId","a4dca4b3-351c-4764-bda9-03c5caf5fedf"]),window._6si.push(["enableEventTracking",!0]),window._6si.push(["setCompanyDetailsExpiration",!1]);for(var n,e,o=[],i=0;i<o.length;i++)window._6si.push(["addSFF",o[i]]);window._6si.push(["enableMapCookieCapture",!1]),window._6si.push(["enableCompanyDetails",!1]),(n=document.createElement("script")).type="text/javascript",n.async=!0,null!=(e=null===document||void 0===document?void 0:document.currentScript)&&e.nonce&&(n.nonce=null==(e=null===document||void 0===document?void 0:document.currentScript)?void 0:e.nonce),n.src="https://j.6sc.co/6si.min.js",(e=document.getElementsByTagName("script")[0]).parentNode.insertBefore(n,e)}();
</script>
{{- end }}

<!--Segment tracking-->
Expand Down
8 changes: 4 additions & 4 deletions scripts/ci-pull-request.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ set -o errexit -o pipefail
if [ -z "${AWS_ACCESS_KEY_ID:-}" ] || [ -z "${AWS_SECRET_ACCESS_KEY:-}" ] || [ -z "${PULUMI_ACCESS_TOKEN:-}" ]; then
echo "Missing secret tokens, possibly due to a forked PR."
echo "Running a build, but will skip the sync to S3 and Pulumi preview."
./scripts/build-site.sh preview
./scripts/build-site.sh
exit
fi

source ./scripts/ci-login.sh

./scripts/build-site.sh preview
./scripts/sync-and-test-bucket.sh preview
./scripts/build-site.sh
./scripts/sync-and-test-bucket.sh

./scripts/generate-search-index.sh

./scripts/run-pulumi.sh preview
./scripts/run-pulumi.sh
./scripts/make-s3-redirects.sh

# Temporarily disable 404 detection (too many false positives)
Expand Down
Loading