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/cicd-github-action-object-storage-sync/index.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ This tutorial will guide you through setting up a GitHub Action to deploy your A
29
29
1. In your GitHub repository, navigate to the `.github/workflows` directory. If it does not exist, create it at the root of your repository.
30
30
2. Create a new file named `deploy.yml` in the `.github/workflows` directory.
31
31
32
-
##Defining the workflow
32
+
### Define the workflow
33
33
34
34
Copy and paste the following code into the `deploy.yml` file. This workflow will run on every push to the `main` branch, build your Astro website, and upload the built files to Scaleway Object Storage.
In your GitHub repository, go to Settings > Secrets and variables > Actions.
84
84
Add the following secrets with your Scaleway credentials:
85
85
86
86
- SCW_ACCESS_KEY
87
87
- SCW_SECRET_KEY
88
-
- SCW_PROJECT_ID
89
-
- SCW_ORGANIZATION_ID
88
+
- SCW_DEFAULT_PROJECT_ID
89
+
- SCW_DEFAULT_ORGANIZATION_ID
90
90
91
-
Commit and push your changes
91
+
### Commit and push your changes
92
92
93
93
Run the commands below to commit and push the `deploy.yml` file to your repository. If you are working directly on your main branch, this will trigger the GitHub Action to run on the main branch.
0 commit comments