Skip to content

Upload files to the qbee.io file manager within GitHub runners

Notifications You must be signed in to change notification settings

qbee-io/file-upload-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file-upload-action

Upload files to the qbee.io file manager within GitHub runners.

Usage

To use this action make sure to use our authentication action before the file upload.

A sample GitHub action file in your repository would look like this

name: qbee.io upload
on:
 push:
    branches: [ main ]

jobs:
 build:
    runs-on: ubuntu-latest
    env:
        TARNAME: repo.tar

    steps:
    - uses: actions/checkout@v4

    - name: create tarball
      run: |
        mkdir ./tar
        tar --exclude='./.git' --exclude='./.github' --exclude='./tar' -czvf ./tar/$TARNAME .


    - name: qbee.io authentication
      uses: qbee-io/authenticate-action@main
      id: qbee-auth
      with:
          login: ${{ secrets.USERNAME_KEY }}
          password: ${{ secrets.PASSWORD_KEY }}

    - name: qbee.io file upload
      uses: qbee-io/file-upload-action@main
      with:
          source: './tar/${{ env.TARNAME }}'
          destination: '/github_actions_upload'

The usage of qbee-io/authenticate-action is explained on its documentation page.

Input variables

  • source: path to source file
  • destination: path to the directory in the qbee file manager where the file should be uploaded
  • action: type of action. Supported actions are upload (single files) and sync for directories
  • exclude: Comma-separated list of patterns to exclude while action is 'sync'
  • include: Comma-separated list of patterns to include while action is 'sync'

About

Upload files to the qbee.io file manager within GitHub runners

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •