diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 628fa625..6dbb9bc1 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -37,15 +37,7 @@ jobs: with: name: bundle path: dist/bundle*.js - - # - name: comment PR 📝 - # uses: thollander/actions-comment-pull-request@v3 - # if: ${{github.event_name == 'pull_request'}} - # with: - # message: | - # 我们已经收到您的PR,您可以在这里访问对应的脚本文件。 - # ${{ steps.upload-artifacts.outputs.artifact-url }} - + - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4 if: ${{ github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 76c3669b..666ad05f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: run: node --import tsx ./test/sites.ts - name: Upload Artifact 🚀 - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sites.csv path: dist/csv/sites.csv