https://github.com/dataesr/ovh-s3-deploy
A github action to deploy react build to ovh s3-website
https://github.com/dataesr/ovh-s3-deploy
Last synced: 5 months ago
JSON representation
A github action to deploy react build to ovh s3-website
- Host: GitHub
- URL: https://github.com/dataesr/ovh-s3-deploy
- Owner: dataesr
- License: mit
- Created: 2023-04-05T09:10:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-11T13:09:56.000Z (about 3 years ago)
- Last Synced: 2025-09-11T10:26:44.464Z (9 months ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ovh-s3-deploy.
Deploy static website from react build to ovh s3 buckets.
Not tested on other object storage providers
## Usage
```
deploy:
runs-on: ubuntu-latest
needs: ['build']
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Deploy to s3
uses: dataesr/ovh-s3-deploy@v1
with:
access_key: ${{ secrets.S3_ACCESS_KEY }}
secret_key: ${{ secrets.S3_SECRET_KEY }}
region: gra
endpoint: https://s3.gra.io.cloud.ovh.net
bucket: ${{ github.repository_owner }}-${{ github.event.repository.name }}
source: build
```