diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7c0811..7ff64e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,14 +25,14 @@ jobs: wget -q $HUGO_RELEASE_SRC/download/v$VERSION/$HUGO_DEB_FILE sudo dpkg -i $HUGO_DEB_FILE - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: 'recursive' - name: Build production site run: | hugo - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: public-prod path: public/ @@ -41,7 +41,7 @@ jobs: rm -rf public/* hugo -D - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: public-draft path: public/ @@ -51,9 +51,9 @@ jobs: runs-on: [ubuntu-20.04] steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download Hugo build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: public-prod path: public @@ -71,11 +71,11 @@ jobs: if: ${{ github.ref == 'refs/heads/main' }} steps: - name: Download Hugo build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: public-prod - name: Deploy to GH pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: .