From c1cee30ad33e363e4a7f6a5e15b03a9d2034b922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Sat, 12 Oct 2024 14:23:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=20deploy-dist-to-sur?= =?UTF-8?q?ge.yml=EF=BC=8C=E5=8A=A8=E6=80=81=E7=94=9F=E6=88=90=20HTML=20?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E5=B9=B6=E6=94=B9=E8=BF=9B=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-dist-to-surge.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-dist-to-surge.yml b/.github/workflows/deploy-dist-to-surge.yml index 797b7c3..a701cdb 100644 --- a/.github/workflows/deploy-dist-to-surge.yml +++ b/.github/workflows/deploy-dist-to-surge.yml @@ -15,10 +15,10 @@ jobs: - name: 准备部署文件 run: | mkdir dist - echo "

Hello, World!

" > dist/index.html + html="

${{ github.event_name }}: ${{ github.sha }}

" + echo $html > dist/index.html - uses: yanhao98/composite-actions/deploy-dist-to-surge@main id: surge_deploy - name: Check Surge URL run: | - set -x - echo ${{ steps.surge_deploy.outputs.url }} \ No newline at end of file + echo "steps.surge_deploy.outputs.url: ${{ steps.surge_deploy.outputs.url }}" \ No newline at end of file