2025-08-10 19:31:16 +02:00
2025-08-10 19:25:58 +02:00
2025-08-10 15:40:49 +02:00
2025-08-10 19:31:16 +02:00
2020-12-18 23:55:05 +02:00
2025-08-10 15:40:49 +02:00

Minio Deploy GitHub Action

This is a fork from hkdobrev/minio-deploy-action with some minor changes. Run minio client in GitHub Actions to deploy files to Minio object storage.

It uses the mc mirror --overwrite command to deploy.

Usage

Put the following step in your workflow:

- name: Minio Deploy
  uses: https://git.opytex.org/lafrite/minio-deploy-action@main
  with:
    endpoint: ${{ secrets.MINIO_ENDPOINT }}
    access_key: ${{ secrets.MINIO_ACCESS_KEY }}
    secret_key: ${{ secrets.MINIO_SECRET_KEY }}
    bucket: "mybucket"
    # Optional inputs with their defaults:
    source_dir: "public"
    target_dir: "/"

Workflow example:

name: Deploy

on:
  pull_request:
    types: [opened, synchronize]
  push:
    branches:
      - master

jobs:
  build:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1

      - name: Minio Deploy
        uses: https://git.opytex.org/lafrite/minio-deploy-action@main
        with:
          endpoint: ${{ secrets.MINIO_ENDPOINT }}
          access_key: ${{ secrets.MINIO_ACCESS_KEY }}
          secret_key: ${{ secrets.MINIO_SECRET_KEY }}
          bucket: 'mybucket'
          source_dir 'public'
          target_dir: '/'

License

Licensed under the MIT license. See LICENSE.

Description
GitHub Action to deploy files with Minio client to a Minio bucket
Readme MIT 45 KiB
Languages
Dockerfile 58.9%
Shell 41.1%