Skip to content

Commit a0ec18f

Browse files
Merge branch 'master' into leecalcote-patch-3
2 parents 40cdd5d + a0b5cb4 commit a0ec18f

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/build-and-deploy-site.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ jobs:
2424
branch: site # The branch the action should deploy to.
2525
folder: public # The folder the action should deploy.
2626
clean: true
27+
clean-exclude: |
28+
preview-badges/**

.github/workflows/build-and-preview-site.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,16 @@ jobs:
2323

2424
- name: Install and Build 🔧
2525
env:
26-
PATH_PREFIX: /recognition/pr-preview/pr-${{ github.event.pull_request.number }}
26+
PATH_PREFIX: /recognition/preview-badges/pr-${{ github.event.pull_request.number }}
2727
run: |
2828
npm install
2929
node -v
3030
npm run build -- --prefix-paths
3131
32+
- name: Remove CNAME file
33+
run: |
34+
rm -f public/CNAME
35+
3236
- name: Broken Link Check 🔗
3337
uses: technote-space/broken-link-checker-action@v2
3438
with:
@@ -79,12 +83,14 @@ jobs:
7983
uses: rossjrw/pr-preview-action@v1.6.3
8084
with:
8185
source-dir: public
86+
umbrella-dir: preview-badges
8287
token: ${{ secrets.GITHUB_TOKEN }}
8388

8489
- name: Remove Preview on Close
8590
if: github.event_name == 'pull_request_target' && github.event.action == 'closed'
8691
uses: rossjrw/pr-preview-action@v1.6.3
8792
with:
8893
source-dir: public
94+
umbrella-dir: preview-badges
8995
remove: true
9096
token: ${{ secrets.GITHUB_TOKEN }}

src/sitecomponents/Footer/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const Footer = () => {
4242
</a>
4343
</li>
4444
<li>
45-
<a className="category-link" href="https://github.com/layer5io/">
45+
<a className="category-link" href="https://github.com/layer5io/recognition">
4646
<img src={GithubIcon} alt="GitHub Icon" />
4747
Github
4848
</a>

0 commit comments

Comments
 (0)