Learn how to configure S3 Uploader for GitHub Actions for use with Filebase.
What is S3 Uploader for GitHub Actions?
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.
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.
8. Then, select ‘Start Commit’ on the right side of the screen. Commit your file.
9. You will then see your main.yml file listed in your repository.
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.
10. Your GitHub action will show a green check mark, meaning that it was able to run successfully.
11. You can verify that your GitHub repository files were uploaded to your Filebase bucket by checking the contents of your Filebase bucket on the web console.