diff --git a/.github/workflows/deploy-to-gh-pages.yml b/.github/workflows/deploy-to-gh-pages.yml index 3cef73d..f7affc3 100644 --- a/.github/workflows/deploy-to-gh-pages.yml +++ b/.github/workflows/deploy-to-gh-pages.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 获取代码 - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 配置 Ruby uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 with: @@ -35,13 +35,13 @@ jobs: cache-version: 0 # Increment this number if you need to re-download cached gems - name: 配置 Pages id: pages - uses: actions/configure-pages@v2 + uses: actions/configure-pages@v5 - name: 生成网站 run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" env: JEKYLL_ENV: production - name: 上传结果 - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 deploy: name: 部署 @@ -53,4 +53,4 @@ jobs: steps: - name: 部署到 GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4