Give the GITHUB_TOKEN write permission. Go to your repository's Settings > Actions > General > Workflow Permissions and select Read and write permissions.
Go here https://github.com/ferama/docs-test/settings/pages
and set Deploy from a branch -> select gh-pages -> /(root)