` (e.g., http://se-edu.github.io/se-book).
@@ -102,6 +105,8 @@ jobs:
build:
runs-on: ubuntu-latest
name: test
+ permissions:
+ contents: write
env:
GITHUB_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
steps:
@@ -118,7 +123,11 @@ jobs:
The sample `deploy.yml` workflow above uses the [default GitHub Token secret](https://docs.github.com/en/actions/reference/authentication-in-a-workflow) that is generated automatically for each GitHub Actions workflow. You may also use a [GitHub Personal Access Token](#generating-a-github-personal-access-token) in place of the default GitHub Token.
-Once you have created the file, commit and push the file to your repo. GitHub Actions should start to build and deploy your MarkBind site. You can verify this by visiting `www.github.com///actions`.
+Once you have created the file, commit and push the file to your repo.
+
+Then, navigate to the `Settings > Pages` section on GitHub for that repository and set the source to the root of the `gh-pages` branch. You can read [this source](https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site#creating-your-site) on GitHub Pages for more details.
+
+GitHub Actions should start to build and deploy your MarkBind site. You can verify this by visiting `www.github.com///actions`.