Skip to content

Automate operations on Discloud with this GitHub Action: manage applications, upload files, and monitor status in streamlined workflows.

License

Notifications You must be signed in to change notification settings

marco-quicula/discloud-api-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

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Discloud API Action image

Contributor Covenant GitHub

Automate operations on Discloud with this GitHub Action: manage applications, upload files, and monitor status in streamlined workflows.

How to Use

Add the following to your workflow:

jobs:
  discloud:
    runs-on: ubuntu-latest
    steps:
      - name: Discloud Action Upload
        uses: marco-quicula/discloud-api-action@v1
        with:
          # Insert the Discloud API token.
          discloud_api_token: ${{ secrets.DISCLOUD_API_TOKEN }}
          # Insert the command according to the command list.
          command: "<command>"
          # Insert the parameters according to the parameter list for each command.
          <parameter>: <value>

Required Inputs

  • discloud_api_token: This is the API token required for authentication. You can obtain it from the Discloud control panel.

  • command: This specifies the action to be executed. The available options for this parameter are listed in the Command List table below.

Optional Parameters

  • <parameter>: The parameters that are required for each command are detailed in the Parameter List by Command section below. Some parameters may be optional depending on the command.

Command List

GitHub Action to interact with the Discloud API. Supports the following commands:

Command Description
userinfo Returns user information.
app-status Check the status of an application.
app-delete Remove an application by ID
upload-zip Upload a (.zip) file to Discloud.
app-commit Changes an application

Parameter list by command

Parameter List by Command:

Command Parameter Required Default Value Domain Description Example
userinfo N/A N/A N/A N/A N/A N/A
app-status appId true N/A N/A Application ID or all for all apps. appId: my-app
app-delete appId true N/A N/A Application ID or all for all apps. appId: my-app
upload-zip file true N/A N/A File (.zip) to be uploaded. file: "./path/to/file.zip"
actionIfExists false ERROR ERROR|DELETE|COMMIT Action to be taken if the application is already active. actionIfExist: DELETE
app-commit file true N/A N/A File (.zip) to be uploaded. file: path/to/file.zip"

Status of the test workflow on protected branches

main develop
Pipeline Tests - Production Pipeline Tests - Development

Milestones

Name Version Estimated Delivery Date Status Date of Completion
First Version Published in Marketplace v0.1.0 December 28, 2024 Done December 26, 2024
Improved Features & Usability v0.2.0 January 26, 2025 In-Progress -

Feel free to contribute by opening issues or submitting pull requests. For major changes, please open an issue first to discuss what you would like to change.


License

This project is licensed under the Apache License 2.0. See the LICENSE file for more details.

GitHub

Code of Conduct

This project adheres to the Contributor Covenant. You can view the full text of our [Code of Conduct] in the specific tab of this project.

Contributor Covenant

Acknowledgements

Special thanks to DisCloud for their amazing API.

image

IMPORTANT: This project does not imply any sponsorship, endorsement, or affiliation with Discloud.

About

Automate operations on Discloud with this GitHub Action: manage applications, upload files, and monitor status in streamlined workflows.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages