Skip to content

Commit 2c3d77a

Browse files
Merge pull request #55 from Rajesh-Nagarajan-11/url-fix
URL FIX
2 parents 2ee53b4 + f73c304 commit 2c3d77a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ 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-preview/pr-${{ github.event.pull_request.number }}
2727
run: |
2828
npm install
2929
node -v
@@ -79,12 +79,14 @@ jobs:
7979
uses: rossjrw/[email protected]
8080
with:
8181
source-dir: public
82+
umbrella-dir: Preview-Badges
8283
token: ${{ secrets.GITHUB_TOKEN }}
8384

8485
- name: Remove Preview on Close
8586
if: github.event_name == 'pull_request_target' && github.event.action == 'closed'
8687
uses: rossjrw/[email protected]
8788
with:
8889
source-dir: public
90+
umbrella-dir: Preview-Badges
8991
remove: true
9092
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)