Skip to content

Commit 7c33d90

Browse files
committed
pass var with 'with' input
1 parent 465969b commit 7c33d90

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
ng-base-href:
66
required: false
77
type: string
8+
base:
9+
required: false
10+
type: string
811
jobs:
912
Build-HTML-Assets:
1013
runs-on: ubuntu-latest

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
needs: Get-Base-Href
1616
if: github.event.action != 'closed'
1717
uses: ./.github/workflows/build.yml
18-
# with:
19-
# ng-base-href: ${{ format('{0}{1}', '/sam-design-system-site/', github.event.number }}
18+
with:
19+
base: ${{base}}
2020
Deploy-HTML:
2121
runs-on: ubuntu-latest
2222
if: ${{ !failure() }}

0 commit comments

Comments
 (0)