alt3ri / fo

Uses DigitalOcean Functions to upload a file to Spaces.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

This is a sample of how to upload files to DigitalOcean Spaces using deploys a Functions and Static Site component on App Platform.

Note: Following these steps may result in charges for the use of DigitalOcean services.

Requirements

Spaces Bucket

When deploying the App, these environment variables are required in the Functions component.

SPACES_ENDPOINT
SPACES_NAME
SPACES_KEY
SPACES_SECRET

Deploying the App

Click this button to deploy the app to the DigitalOcean App Platform. If you are not logged in, you will be prompted to log in with your DigitalOcean account.

Deploy to DigitalOcean

Using this button disables the ability to automatically re-deploy your app when pushing to a branch or tag in your repository as you are using this repo directly.

About

Uses DigitalOcean Functions to upload a file to Spaces.


Languages

Language:JavaScript 65.1%Language:HTML 31.6%Language:Shell 3.3%