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