diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 67f26f085..a1991aed0 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -19,13 +19,13 @@ jobs: python_version: ['3.12'] steps: - name: Checkout 🛎️ - uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. + uses: actions/checkout@v4 # persist-credentials must be false so the deploy step below uses its own token, not the checkout credentials. with: submodules: 'recursive' persist-credentials: false - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python_version }}