diff --git a/content/news/how-to-create-this-blog/index.md b/content/news/how-to-create-this-blog/index.md index 0fab46f3..30e2c50f 100644 --- a/content/news/how-to-create-this-blog/index.md +++ b/content/news/how-to-create-this-blog/index.md @@ -292,7 +292,13 @@ To deploy the blog, I simply use Github Wokflow which build and publish it with I started with everytime that I was pushing the code, it deploy. It gave me no time after saving to read again my articles. Then I put it on `workflow_dispatch`, so I manually trigger the workflow to publish it. But the proper way to do, I just push on branch `gh-pages` which is set as the default then merge it with the main so it trigger the publication only when it arrive on the main branch. -In the settings, in the tab branch protection, an option "Require a pull request before merging" prevent to directly commit on `main`. +In the settings, in the tab branch protection, an option **Lock branch** prevent to directly commit on `main`. + +> From Github documentation: +> +> Branch is read-only. Users cannot push to the branch. + +And option **Require a pull request before merging** oblige you to review changes. > From Github documentation: >