Skip to content

Commit ab6c718

Browse files
fix(obj): update CICD tutorial with correct env vars MTA-6039 (scaleway#4950)
1 parent cc29473 commit ab6c718

File tree

1 file changed

+7
-7
lines changed
  • tutorials/cicd-github-action-object-storage-sync

1 file changed

+7
-7
lines changed

tutorials/cicd-github-action-object-storage-sync/index.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This tutorial will guide you through setting up a GitHub Action to deploy your A
2929
1. In your GitHub repository, navigate to the `.github/workflows` directory. If it does not exist, create it at the root of your repository.
3030
2. Create a new file named `deploy.yml` in the `.github/workflows` directory.
3131

32-
## Defining the workflow
32+
### Define the workflow
3333

3434
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.
3535

@@ -74,21 +74,21 @@ jobs:
7474
env:
7575
SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}
7676
SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}
77-
SCW_PROJECT_ID: ${{ secrets.SCW_PROJECT_ID }}
78-
SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }}
77+
SCW_DEFAULT_PROJECT_ID: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
78+
SCW_DEFAULT_ORGANIZATION_ID: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }}
7979
```
8080
81-
Configure repository secrets
81+
### Configure the repository secrets
8282
8383
In your GitHub repository, go to Settings > Secrets and variables > Actions.
8484
Add the following secrets with your Scaleway credentials:
8585
8686
- SCW_ACCESS_KEY
8787
- SCW_SECRET_KEY
88-
- SCW_PROJECT_ID
89-
- SCW_ORGANIZATION_ID
88+
- SCW_DEFAULT_PROJECT_ID
89+
- SCW_DEFAULT_ORGANIZATION_ID
9090
91-
Commit and push your changes
91+
### Commit and push your changes
9292
9393
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.
9494

0 commit comments

Comments
 (0)