From ec7c7e13b7e1bb676781acfa1a22e10b660d4448 Mon Sep 17 00:00:00 2001
From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com>
Date: Thu, 2 Jan 2025 16:55:51 -0500
Subject: [PATCH] preview.ourmap.us -> preview.americanamap.org
---
.github/workflows/build-preview.yml | 2 +-
.github/workflows/deploy-pr-checks.yml | 20 ++++++++++----------
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/build-preview.yml b/.github/workflows/build-preview.yml
index bba0ffb2f..233c7be36 100644
--- a/.github/workflows/build-preview.yml
+++ b/.github/workflows/build-preview.yml
@@ -104,7 +104,7 @@ jobs:
- name: Generate map diff sample clips
id: map-diff-samples
run: |
- npm exec tsx scripts/folder_diff ../samples-main ../samples-pr https://preview.ourmap.us/pr/${{ github.event.pull_request.number }}/ ${{ github.event.pull_request.head.sha }}
+ npm exec tsx scripts/folder_diff ../samples-main ../samples-pr https://preview.americanamap.org/pr/${{ github.event.pull_request.number }}/ ${{ github.event.pull_request.head.sha }}
mv pr_preview-extra.md ../pr/
cat ../pr/pr_preview-extra.md
mv samples-diff ../dist/
diff --git a/.github/workflows/deploy-pr-checks.yml b/.github/workflows/deploy-pr-checks.yml
index ccd25262a..e454944f0 100644
--- a/.github/workflows/deploy-pr-checks.yml
+++ b/.github/workflows/deploy-pr-checks.yml
@@ -85,32 +85,32 @@ jobs:
- name: Wait for PR Preview Upload (1x Sprite)
uses: cygnetdigital/wait_for_response@v2.0.0
with:
- url: "https://preview.ourmap.us/pr/${{ env.PR_NUM }}/sprites/sprite.png"
+ url: "https://preview.americanamap.org/pr/${{ env.PR_NUM }}/sprites/sprite.png"
responseCode: "200"
timeout: 120000
interval: 500
- name: Wait for PR Preview Upload (2x Sprite)
uses: cygnetdigital/wait_for_response@v2.0.0
with:
- url: "https://preview.ourmap.us/pr/${{ env.PR_NUM }}/sprites/sprite@2x.png"
+ url: "https://preview.americanamap.org/pr/${{ env.PR_NUM }}/sprites/sprite@2x.png"
responseCode: "200"
timeout: 120000
interval: 500
- name: Generate Preview text
run: |
echo "## Live PR Preview:
- * [Map](https://preview.ourmap.us/pr/${{ env.PR_NUM }}/)
- * [Shield Test](https://preview.ourmap.us/pr/${{ env.PR_NUM }}/shieldtest.html)
- * [style.json](https://preview.ourmap.us/pr/${{ env.PR_NUM }}/style.json)
- * [shields.json](https://preview.ourmap.us/pr/${{ env.PR_NUM }}/shields.json)
- * [taginfo.json](https://preview.ourmap.us/pr/${{ env.PR_NUM }}/taginfo.json)
+ * [Map](https://preview.americanamap.org/pr/${{ env.PR_NUM }}/)
+ * [Shield Test](https://preview.americanamap.org/pr/${{ env.PR_NUM }}/shieldtest.html)
+ * [style.json](https://preview.americanamap.org/pr/${{ env.PR_NUM }}/style.json)
+ * [shields.json](https://preview.americanamap.org/pr/${{ env.PR_NUM }}/shields.json)
+ * [taginfo.json](https://preview.americanamap.org/pr/${{ env.PR_NUM }}/taginfo.json)
Live previews are automatically removed once the PR is merged.
## Sprite Sheets:
-
-
+
+
" > pr_preview.md
[ -f pr_preview-extra.md ] && cat pr_preview-extra.md >> pr_preview.md || echo "No extra PR preview found."
- uses: tibdex/github-app-token@v1
@@ -125,7 +125,7 @@ jobs:
sha: ${{ env.PR_SHA }}
token: ${{ steps.checks_token.outputs.token }}
name: PR Preview
- details_url: https://preview.ourmap.us/pr/${{ env.PR_NUM }}/
+ details_url: https://preview.americanamap.org/pr/${{ env.PR_NUM }}/
conclusion: neutral
output: |
{"summary":"Preview map changes introduced by this PR", "title":"View live map and artifacts"}