S3 Uploader for GitHub Actions
Learn how to configure S3 Uploader for GitHub Actions for use with Filebase.
S3 Uploader for GitHub Actions is an open-source GitHub Action that enables developers to configure automatic backups for their GitHub repositories to an S3-compatible service like Filebase whenever their GitHub repository’s main branch is pushed or updated by a pull request.
Read below to learn how to configure S3 Uploader for GitHub Actions with Filebase.






# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
upload-s3-parts:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
- name: install node 16
uses: actions/setup-[email protected]
with:
node-version: 16.x
- name: S3 Uploader for GitHub Actions
uses: Noelware/s3-[email protected]
with:
directories: '*'
endpoint: https://s3.filebase.com
bucket: github-test-bucket
access-key: ${{ secrets.FILEBASE_ACCESS_KEY }}
secret-key: ${{ secrets.FILEBASE_SECRET_KEY }}
Replace the following values to match your configuration:
- Directories: The directories in your GitHub repository you would like to upload to Filebase.
- Bucket: Your Filebase Bucket Name
In this configuration, all files in our repository are being backed up, and this workflow is configured to be run automatically whenever the main branch is pushed to or merged with a pull request.

Select the ‘Actions’ tab from the menu bar again to check the status of the GitHub action, which was run automatically when it was committed. From here, it will be run automatically whenever the main branch of your repository is pushed to or merged with a pull request.



If you have any questions, please join our Discord server, or send us an email at [email protected]
Last modified 2mo ago