diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 2f5f878..52cc098 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -7,15 +7,17 @@ on: jobs: deploy: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 + permissions: + contents: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true fetch-depth: 0 - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: '3.7' architecture: 'x64' @@ -30,7 +32,7 @@ jobs: run: mkdocs build - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./site