Skip to content

Commit 06b1ccf

Browse files
committed
Fix preview action
1 parent b07a208 commit 06b1ccf

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/actions/build/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ runs:
1010
- name: Install npm Modules
1111
uses: ./.github/actions/install-npm-modules
1212

13+
- run: echo ${{ base-url }}
14+
1315
- name: Build
1416
run: npm run build
1517
env:

.github/workflows/preview.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@ jobs:
1919
- name: Checkout Code
2020
uses: actions/checkout@v3
2121

22-
- name: Execute Notebooks
23-
uses: ./.github/actions/execute-notebooks
24-
2522
- name: Make BASE_URL
2623
run: echo ${{ github.ref }} | sed "s/[^0-9]//g" | (pr_preview=$(cat); echo -e "BASE_URL=/pr-preview/pr-$pr_preview/") >> $GITHUB_ENV
2724

2825
- name: Build
2926
uses: ./.github/actions/build
3027
with:
31-
base-url: $BASE_URL
28+
base-url: ${{ env.BASE_URL }}
3229

3330
- name: Deploy preview
3431
uses: rossjrw/pr-preview-action@v1

0 commit comments

Comments
 (0)