Skip to content

Commit b1031de

Browse files
Merge pull request #56 from Rajesh-Nagarajan-11/url-fix
fix remove cname
2 parents 2c3d77a + 7d37140 commit b1031de

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
folder: public # The folder the action should deploy.
2626
clean: true
2727
clean-exclude: |
28-
Preview-Badges/**
28+
preview-badges/**

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

Lines changed: 7 additions & 3 deletions
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/Preview-Badges/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,14 +83,14 @@ jobs:
7983
uses: rossjrw/pr-preview-action@v1.6.3
8084
with:
8185
source-dir: public
82-
umbrella-dir: Preview-Badges
86+
umbrella-dir: preview-badges
8387
token: ${{ secrets.GITHUB_TOKEN }}
8488

8589
- name: Remove Preview on Close
8690
if: github.event_name == 'pull_request_target' && github.event.action == 'closed'
8791
uses: rossjrw/pr-preview-action@v1.6.3
8892
with:
8993
source-dir: public
90-
umbrella-dir: Preview-Badges
94+
umbrella-dir: preview-badges
9195
remove: true
9296
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)