You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/deploy-automate-mkdocs-site/index.mdx
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ content:
7
7
paragraph: Learn how to build and deploy an MkDocs site using GitHub Actions for CI/CD automation. Streamline your workflow with this step-by-step guide.
@@ -51,8 +51,7 @@ This tutorial is the second in a series on building and deploying websites using
51
51
52
52
## Adding statements to your bucket policy
53
53
54
-
Statements allow you to define who can perform what actions on your bucket. In this section, we will add a statement to allow your IAM application to push content to your bucket, and
55
-
another one that grants public read access to your website's content.
54
+
Statements allow you to define who can perform what actions on your bucket. In this section, we will add a statement to allow your IAM application to push content to your bucket, and another one that grants public read access to your website's content.
56
55
57
56
1. From the Scaleway console side-menu, click **Storage**, then click **Object Storage**.
58
57
2. Click your bucket, then click the **Bucket settings** tab.
@@ -139,7 +138,7 @@ jobs:
139
138
140
139
## Adding your secrets in GitHub
141
140
142
-
In this section we will be adding the following values (secrets) in our GitHub repository. This will alloy the GitHub Actions workflow to access your bucket using the information in the `deploy-docs.yml` file.
141
+
In this section, we will be adding the following values (secrets) in our GitHub repository. This will allow the GitHub Actions workflow to access your bucket using the information in the `deploy-docs.yml` file.
143
142
144
143
-`DOC_ACCESS_KEY`: Your Scaleway API access key.
145
144
-`DOC_SECRET_KEY`: Your Scaleway API secret key.
@@ -153,7 +152,6 @@ In this section we will be adding the following values (secrets) in our GitHub r
153
152
5. Enter a name and a secret for each of the values listed above. For example, enter `DOC_ACCESS_KEY` in the **Name** field, and `SCWXXXXXXXXXXXXXXXXX` in the **Secret** field.
154
153
6. Click **Add secret** and repeat the operation for the other 3 secrets.
155
154
156
-
157
155
## Deploying your documentation
158
156
159
157
1. Make sure that the **only action** in the statement to grant read access to your bucket is `s3:GetObject`. Your statement should look like the following:
0 commit comments