Deploy to Scaleway object storage #13
@@ -37,12 +37,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Deploy to Object Storage
|
- name: Deploy to Object Storage
|
||||||
run: |
|
run: |
|
||||||
|
aws configure set default.s3.signature_version s3v4
|
||||||
aws s3 sync public/ s3://notebook-arnodo-fr/ \
|
aws s3 sync public/ s3://notebook-arnodo-fr/ \
|
||||||
--endpoint-url=https://s3.fr-par.scw.cloud \
|
--endpoint-url=https://s3.fr-par.scw.cloud \
|
||||||
|
--region=fr-par \
|
||||||
--delete
|
--delete
|
||||||
env:
|
env:
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.SCW_ACCESS_KEY }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.SCW_ACCESS_KEY }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCW_SECRET_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCW_SECRET_KEY }}
|
||||||
|
AWS_DEFAULT_REGION: fr-par
|
||||||
|
|
||||||
- name: Install Scaleway CLI (for Purge only)
|
- name: Install Scaleway CLI (for Purge only)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user