Our current pages-deployment.yml workflow includes a gitHubToken:
|
gitHubToken: ${{ secrets.GITHUB_TOKEN }} |
This means that a new GitHub Deployment is created for each build:
We do not use these deployments, as that is handled via Cloudflare. To stop this from happening, we can remove the token, as it is optional as per the docs.
We can also remove the existing deployments via the API, removing thousands of old deployment links.
To do
Our current
pages-deployment.ymlworkflow includes agitHubToken:documentation/.github/workflows/pages-deployment.yml
Line 46 in 05fe727
This means that a new GitHub Deployment is created for each build:
We do not use these deployments, as that is handled via Cloudflare. To stop this from happening, we can remove the token, as it is optional as per the docs.
We can also remove the existing deployments via the API, removing thousands of old deployment links.
To do
gitHubTokenfrompages-deployment.yml