Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/pr-storybook-deploy-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
ref: refs/pull/${{ inputs.pr_number }}/head
fetch-depth: 1

- name: Checkout base repo
if: inputs.action == 'remove'
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Use Node.js
if: inputs.action == 'deploy'
uses: actions/setup-node@v4
Expand Down Expand Up @@ -81,12 +87,12 @@ jobs:
pnpx nx build devextreme-react-storybook

- name: Deploy/remove PR preview
uses: rossjrw/pr-preview-action@8ff09e486b4c23709012eedd3b42e9f0b95dd0c5 # v1
uses: rossjrw/pr-preview-action@ffa7509e91a3ec8dfc2e5536c4d5c1acdf7a6de9 # v1.8.1
with:
action: ${{ inputs.action }}
pr-number: ${{ inputs.pr_number }}
source-dir: ${{ env.SOURCE_DIR }}
preview-branch: gh-pages
umbrella-dir: preview
comment: false
token: ${{ secrets.GITHUB_TOKEN }}
wait-for-pages-deployment: true
Loading