From 7588e90132a9c0d0545ba53eea55b9742c2d54a6 Mon Sep 17 00:00:00 2001 From: Arrebol Date: Mon, 18 Dec 2023 19:16:11 +0800 Subject: [PATCH] ci: fix preview --- .github/workflows/preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index f35346d23..e05b4bf1b 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -64,7 +64,7 @@ jobs: repository=${{github.repository}} project_name=${repository#*/} export DEPLOY_DOMAIN=https://kongying-tavern-preview-pr${{ steps.pr.outputs.id }}-$project_name.surge.sh - npx surge --project ./dist --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }} + npx surge --project ./_dist --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }} echo the preview URL is $DEPLOY_DOMAIN echo "::set-output name=url::$DEPLOY_DOMAIN"