An open API service indexing awesome lists of open source software.

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

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
```