diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6cb51af..e576e10 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: "20.12.2" - id: cache-node-modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: node-modules-${{ runner.os }}-${{ hashFiles('.node-version') }}-${{ hashFiles('package-lock.json') }} @@ -25,7 +25,7 @@ jobs: - if: steps.cache-node-modules.outputs.cache-hit != 'true' run: npm ci - run: npm run build - - uses: actions/upload-pages-artifact@v1 + - uses: actions/upload-pages-artifact@v3 with: path: docs @@ -39,5 +39,5 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - - uses: actions/deploy-pages@v2 + - uses: actions/deploy-pages@v4 id: deployment