fix(ci): use rclone instead of AWS CLI
Some checks failed
Lint / Run on Ubuntu (push) Failing after 3m50s
Tests / Run on Ubuntu (push) Failing after 2m35s
Deploy pages / deploy (push) Successful in 45s
E2E Tests / Run on Ubuntu (push) Failing after 4m57s
release / release (push) Failing after 12m25s

This commit is contained in:
Peter 2025-01-21 14:34:36 +01:00
parent b275ea6c9f
commit e9ae80b94d
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -33,9 +33,11 @@ jobs:
run: mkdocs build
- name: Copy files to the s3 website content bucket
run: aws s3 sync site s3://${{ secrets.HCLOUD_BUCKET }} --delete
run: rclone sync site/ HCLOUD:/1661580-supabase-operator-docs/
env:
AWS_ACCESS_KEY_ID: ${{ secrets.HCLOUD_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.HCLOUD_SECRET_KEY }}
AWS_DEFAULT_REGION: hel1
AWS_ENDPOINT_URL: ${{ secrets.HCLOUD_ENDPOINT }}
RCLONE_CONFIG_HCLOUD_TYPE: s3
RCLONE_CONFIG_HCLOUD_PROVIDER: Other
RCLONE_CONFIG_HCLOUD_ACCESS_KEY_ID: ${{ secrets.HCLOUD_KEY_ID }}
RCLONE_CONFIG_HCLOUD_SECRET_ACCESS_KEY: ${{ secrets.HCLOUD_SECRET_KEY }}
RCLONE_CONFIG_HCLOUD_ENDPOINT: ${{ secrets.HCLOUD_ENDPOINT }}
RCLONE_CONFIG_HCLOUD_REGION: hel1