diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f1b3c6..b052ba8 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,7 +71,7 @@ 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: Push build artifacts to deployment repository @@ -92,7 +92,7 @@ jobs: if: ${{ github.ref == 'refs/heads/testing/deploy' }} steps: - name: Download Hugo build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: public-draft - name: Push build artifacts to deployment repository