diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 95af7a5f..d5652e31 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -17,6 +17,8 @@ on: permissions: contents: write pull-requests: write + pages: write + id-token: write jobs: build: @@ -124,6 +126,8 @@ jobs: deploy-production: if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + permissions: + contents: write runs-on: ubuntu-latest needs: build steps: @@ -140,4 +144,5 @@ jobs: uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages - folder: site \ No newline at end of file + folder: site + clean: true \ No newline at end of file diff --git a/src/pages/index.js b/src/pages/index.js index bfebbd62..064c7f6f 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -17,7 +17,7 @@ function HomepageHeader() { className="button button--secondary button--lg" to="/documentation/latest" > - Get started + Get Started