Skip to content

fix: cdn component error #528

fix: cdn component error

fix: cdn component error #528

Workflow file for this run

name: 🔂 Auto Inspection
on:
pull_request:
branches:
- master
jobs:
preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get branch name (pull request)
run: echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF})" >> $GITHUB_ENV
- uses: lxfu1/surge-preview@2.0.3
id: preview_step
with:
project_name: 'ant-design-charts'
dist_command: 'build'
project_branch: ${{ env.BRANCH_NAME }}
surge_token: ${{ secrets.SURGE_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
build: |
pnpm
- name: Get the preview url
run: echo "url => ${{ steps.preview_step.outputs.preview_url }}"